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