Skip navigation
Currently Being Moderated

AWS_ACTION takes the same value

Aug 26, 2010 1:53 PM

My form has 2 routes/buttons:  Approve and Reject.


If the form is rejected, I must validate that they entered comments in
the reject field before submitting.

How do I find the value of which button is selected through
javascript...so that I can enforce my validation?

 

I tried giving an alert message at the beginning of the script to display the aws_action value and it seems to display "approve" for both the buttons.

the aws_choice always seems to take the first choice value . How do I resolve this ?

 

Thanks

 

Deepthi

diptichand@gmail.com

 
Replies
  • Currently Being Moderated
    Aug 26, 2010 2:23 PM   in reply to deepthi48710

    Hi Deepthi,

     

    What sort of form are you using?  Are you using a mobile client?  Please explain the environment a bit more.

     

    matt mackenzie | sr. manager, engineering | adobe systems

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points