disable_validation/enable_validation in javascript

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?
This topic is locked and no more replies can be posted. Inc. (Ohio, USA) is an authorized retailer for goods and services provided by