I
My form has 2 routes/buttons: Approve or 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