Use Javascript to Validate Infusionsoft Forms

Here is the situation.  You build your webform inside Infusionsoft.  You’ve spent a lot of time and money getting your site or landing page to look just so.  You can style it in the drag and drop builder within Infusionsoft, but it still doesn’t quite match up.

So, you grab the code and apply the same CSS that is used on your site, and get the layout looking just perfect.  Now you are ready to capture all those leads!

Then someone fills out the form and misses a required field.  Or maybe they leave out part of their email address.  Next thing you know, they are whisked away and wind up on a different site looking at a scary list of errors that looks something like this:

Default Form Validation

Default Form Validation

If you’re like most people, you’ve invested a lot of time and money in getting those leads to your site, and getting them to take that leap of faith to give you their contact information.

Why not control the whole user experience? If you’re already using the HTML form code (and not the javascript embed) you can take just one more step and keep them in the confines of your site, even if they fat finger or miss a field.

There are a number of ways you can do this with custom javascript, and even a jQuery plugin that will do a lot of the heavy lifting for it. You just need to include a reference to your library, and set up the fields that you want to require or do special validation on (like an email address).

Consistency is good when you are talking to prospects – make sure this part of your process is consistent too.  If you have any questions or need a hand setting it up just drop us a line.

By | 2014-08-26T12:15:02+00:00 June 27th, 2011|Categories: Infusionsoft|0 Comments

About the Author:

Andy Michaels started off a process guy, working for Accenture for nearly a decade designing systems for Fortune 500 companies. Tech was always a hobby though, and he taught himself to code "for fun." Life threw him a curve in 2001, and after beating cancer he lost his taste for the suit-wearing, cubicle world and decided to slow things down a bit. Now he works from home, so don’t be surprised if you hear a dog (or three) barking in the background while you’re on the phone with him.