grantdigital
posted Dec 16, 2019 at 01:08
I want to enable/disable the validation on a field by calculating a fee based on another field. currently, the form I am setting up has a base fee (which can be $0) and also have a lunch opt-in field which also can have a fee. If base fee and lunch fee (if selected) are more than $0 then I want to enable validation on the payment type field.
I know you can enable it based on a button of option selection but how can I do it in javascript?
I know you can enable it based on a button of option selection but how can I do it in javascript?