سؤال

Is it possible to remove validation validate['required email'] from a field in my Chronoform dynamically?

هل كانت مفيدة؟

المحلول

I was actually looking for a way to do it dynamically using Javascript. I read here that you can just add the required as normal in the Chronoforms backend and then enable and disable the input as and when required.

نصائح أخرى

You can edit the form HTML and insert PHP code to conditionally include the "validate['required email']" text in the form.

Be careful if subsequently editing your form using the form wizard as form HTML customisations can be overwritten.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top