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
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 ?