multiple graphical submit form

Results 1 to 3 of 3

Thread: multiple graphical submit form

  1. #1
    meeta Guest

    Default multiple graphical submit form

    I know how to track which button was clicked if standard submit buttons form have been used. request("Submit") would give value of button clicked adn action can be assinged based on value.<BR>&#060;INPUT TYPE=Submit name=Submit value="show ingredients"&#062;<BR>&#060;INPUT TYPE=Submit name=Submit value="show nutirion facts"&#062;<BR><BR><BR>But if I had to use graphical submit buttons then how can I track which one was clicked?how to assign value to graphical buttons? I tried ID its not working..<BR><BR>graphical mulitiple buttons -<BR>&#060;INPUT TYPE=IMAGE src=images/b-ing.gif border=0 id=IMAGE1 name=IMAGE1&#062;<BR>&#060;INPUT TYPE=IMAGE src=images/b-nut.gif border=0 id=IMAGE2 name=IMAGE1&#062;<BR><BR>Thanks in advance!

  2. #2
    Join Date
    Dec 1969

    Default RE: multiple graphical submit form

    First, change your graphic buttons NAMEs to IMAGE1, IMAGE2, etc<BR>---then---<BR>IF Request.Form("IMAGE1.x")&#060;&#062;"" THEN<BR>&#039; first button was clicked<BR>END IF<BR><BR>IF Request.Form("IMAGE2.x")&#060;&#062;"" THEN<BR>&#039; second button was clicked<BR>END IF

  3. #3
    meeta Guest

    Default RE: its working - thanks.


Posting Permissions

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