Skip to main content
Participant
July 7, 2008
Answered

Forms

  • July 7, 2008
  • 3 replies
  • 349 views
So i have 3 image buttons in a form and i want to know which button has been pressed. I could make each button its own form but that doesnt sound logical. Whats the right solution or what i have i done wrong below.
    This topic has been closed for replies.
    Correct answer Todd Rafferty
    <cfdump var="#form#"> on page.cfm and stare at what's being passed as values.

    form.sold is not being passed, believe it or not, but the x & y values of form.sold is being passed. This is a basic HTML issue not a CFML issue.

    3 replies

    Participant
    July 7, 2008
    Oh thanks Todd... your right... sold.x is being passed... thank you...
    Participant
    July 7, 2008
    I tried to add the value = true and still doesnt go into any of the statements... i added a cfelse to the end to make sure that its not the "DO SOMETHING" part that isnt working... but it executes the cfelse statement...
    Inspiring
    July 7, 2008
    That should work, if it doesn't try giving them a value like true.

    What does it do?
    Todd RaffertyCorrect answer
    Participant
    July 7, 2008
    <cfdump var="#form#"> on page.cfm and stare at what's being passed as values.

    form.sold is not being passed, believe it or not, but the x & y values of form.sold is being passed. This is a basic HTML issue not a CFML issue.