Requesting Button

Results 1 to 2 of 2

Thread: Requesting Button

  1. #1
    Join Date
    Dec 1969

    Default Requesting Button

    I have one form with three submit buttons(add,update,delete). After submitting the form by any of these buttons, it goes to another program. In that program, I need identify which button is pressed by the previous program. How can I get this information. I tried like this. <BR>If Request.Form("Add") then<BR> response.write "Add the record"<BR>else if Request.Form("Delete") then<BR> response.write "Delete the record"<BR>else if Request.Form("Update") Then<BR> response.write "Update the record"<BR>end if <BR>----- But its not working. Nothing is displaying. Any help is appreciated. Thanks..James

  2. #2
    Join Date
    Dec 1969

    Default RE: Requesting Button

    &#060;INPUT TYPE="SUBMIT" NAME="Add" VALUE="Add"&#062;<BR><BR>----*-----<BR>If Request.Form("Add") = "Add" then(compare with the value attribute)<BR>response.write "Add the record"<BR>end if <BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts