Conditional Verification - Is This Done By Disabling an Input?

I have a form I am using client side verification.

The inputs Payment Method and Amount Paid are required all the time.

The inputsFee is only required if the input Payment Method has a value of “Paypal”.

Can I do conditional client side verification on the input Fee? Or do I just need to make sure the input that I don’t want to be verified is disabled?

Hi Antony,

What is the purpose of the field? Does it get submitted with the form?

If it gets submitted you will need to use readonly instead of disable. If it doesn’t get submitted or have any other bearing on the form you can disable it.

1 Like