cancel
Showing results for 
Search instead for 
Did you mean: 
Due to an issue with YouTube, inserting videos in your emails is showing an error. Until they are able to resolve this issue, we recommend using a different video hosting service. We will continue to monitor this outage and update you as we have more information.

CCSFG ERROR

Member

Re: Javascript to make the fields required

Can you do this for multiple inout fields?

Honored Contributor

Re: Javascript to make the fields required

Hello,

 

In order to do this, the absolute simplest method is to add new if statements to the javascript for each additional field. You can format them like this:

 

if (form.FieldName.value == "")

 

Best Regards,

Elijah G.
API Support Engineer