Tag Archives: Gravity Forms

How to Validate Gravity Forms Address Fields:

Recently, the need to validate the zip code in a standard address field using Gravity Forms arose for a client. Following the documentation provided for developers with the most recent to date paid Commercial Version, we set up a zip code validation. Seemed easy enough.

To Use State Abbreviations : Gravity Forms, you will not just need the excellent Gravity Forms Plugin for WordPress, but you will also need a Commercial License to allow the code below to work.

The code is added to a proper Child Theme Functions.php file. If you are not using a Child Theme, I suggest you set one up first. Edits to Parent Theme’s are lost on Theme Updates. (That means if you need to update your theme, you will have to redo this work, so a Child Theme is always advised.)

Zapier and Gravity Forms

I recently had the opportunity to work with a great client on a website redo. The previous developer had decided to use Contact Form 7 to create some rather complex online forms. That did not work out well.

I pointed the client to Gravity Forms, a highly recommended Commercial plugin for WordPress.org sites. Using Gravity Forms, I was able to combine 4 forms into a Master Form using Conditional Logic.

Gravity Forms Addons allow for some very specific tasks to be done on form submittal. An example would be to do a ‘POST’ to a specific URL using FORM, JSON, XML (or other custom methods). The purpose of such would be to integrate your form with one of many third-party applications. The third-party application could also do a GET request to your site running Gravity Forms.

Now, add in Zapier. Zapier is one of the Gravity Form Addons, but is so much more. They create ‘Zaps’. “Zapier is an web automation tool. With Zapier you can build Zaps which can automate parts of your business or life.” An example of using a Zap at Gravity Form submittal would be to send an email, use a Web Hook to POST to a DB (yes, MS SQL and MySQL), push a file upload to Google or OneDrive, among many, many others. There are hundreds of third party developers working with Zapier, even some of the biggest!

I am currently working on a new form for this site that will help my prospective customers find out what we can do for them, what steps are needed, etc. Look for that soon.

You can see a very basic example of a Gravity Form with Conditional Login at the Contact Us Page and also below. Please feel free to use that form to get in touch with Pioneer Web Design about your online forms.

Contact Method Preference*

Phone

Email

Mail

Fax

Please select a Contact Method

You can Contact us also by Phone, Mail or Fax using the information on right.

Use Contact Form below

Call us at: 603-583-3777

Our Mailing Address is:40 Hatchery Rd., Montague, MA

Fax us at: 413-367-2489

CF Main Section

Full Name*

FirstLast

Company Name

Phone*

(###)###-### Format Required

Extension

Fax

(###)###-### Format Required

Email*

Enter EmailConfirm Email

Mailing Address*

Street AddressAddress Line 2CityStateZIP Code

How may we be of service?*

Captcha

If you are a human, please fill this out. We apologize for the inconvenience, but we also need to secure our site.

Pioneer Web Design

Pioneer Web Design is a freelance website developer poised to meet your website needs in a timely basis. Below is a portfolio of some sites I designed and/or developed. I cannot list all freelance work.

Portfolio

AzGardGroup
Azgard Group is a Veteran Owned Small Business providing unparalleled Cyber Security and Information Technology services and technology solutions, training, and consulting to commercial and government organizations.

Johnny Macaroni's
Welcome to our new website! Check out the new menus and join us for lunch or dinner. Remember us for take out or catering. Buy our homemade sauces online!