You are viewing limited content. For full access, please sign in.

Question

Question

override email field in forms?

asked on November 1, 2023

If you're using the email type field in a form to make sure people enter the correct syntax, is there any way to override the syntax and enter "none" if it is left blank?  I'm running into this with a customer that wants to capture the email if they have one. . .but the state form that gets filled out requires the word "none" entered in that line.  Thanks.

0 0

Replies

replied on November 1, 2023

Hi Bryan,

You can use workflow or add a custom JS script to process the field. In workflow you can modify fields based on some condition (email is blank for your case.)

With JavaScript,  the Classic Form Designer supports "freestyle" JS in "Css and JavaScript" tab , however for Modern Forms Designer you can only access via LFForm Objects. You can learn more about LFForms syntax and capabilities here.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.