Javascript for form
Would someone be able to help me write a java script for the following:
I have a form that has two columns:
1st column is Meals
where they input the $ Amount
2nd column is a dropdown menu where they select one of the following.
B - has a maximum of $10.00
L - has a maximum of $15.00
D - has a maximum of $25.00
What I would like the script to do…if possible.
Under the 1st Column when they fill in the $ amount and then select from the dropdown menu (B, L or D) if the dollar amount exceeds the maximum it will automatically change the amount in the 1st column (Meals $ Amount) to the maximum amount.
