We customize your software to work the way you do.

By Michael Westendorf  Posted on  October 15th, 2015  in  Web, FileMaker

WordPress Form FileMaker Integration

Are you tired of double data entry from forms on your website? Web forms are a great way to generate leads, capture orders, or other pieces of information. Forms submissions are typically sent via email and clutter you and your teams inbox. Thereafter you manually copy or type the data in your FileMaker application. Instead we will show you how to drop a website form into a FileMaker dashboard. LIBERTY!

Watch on YouTube WordPress Form FileMaker Integration

The WordPress Form

In this demo we are using WordPress, the most popular content management system on the internet! WordPress has many plugins for building and managing forms. In this article we use Gravity Forms*. Gravity Forms allows you to build the form with a WYSIWIG interface to add your fields, modify the form settings, and view the entries.

FileMaker WordPress Form

This form is used to gather contact information for people interested in our services. It allows us to collect the person's name, email, phone, and any other pertinent information they choose to share with us.
*Gravity Forms is a paid product.

The PHP Code

If you're not familiar with WordPress development the functions.php file is a great place to change the default behaviors of WordPress. In our case we want to extend the process of submitting a form by send it to our third party application. Line 3 tells WordPress to run the post_to_third_party function and to do it after the form has been submitted.

FileMaker Gravity Forms

In the function post_to_third_party we first define a site/page to send the data (line 8). Next we build an array of values to send. At first it may not be intuitive where the numbers originated at. Each form assigns an id to every field.This id is exposed via the interface within WordPress itself.Simply hover over the field and the corresponding tooltip will display the Field ID.

FileMaker WordPress FieldID

Once you have your ids build an array of values to post to your third party (lines 10 to 18). Finally send the data to your site through an HTTP Post. The following would be an example PHP file that you would post to:FileMaker Gravity Form Integration

FileMaker PHP API

Gravity Forms will still send a notification that the form was completed and even includes the form data. However, the real magic and time savings comes from the backend integration. Gravity Forms will post the data to your $post_url. This post URL PHP file will then use the FileMaker PHP API to drop the data into FileMaker.

Conclusion

Double data entry no more! The contact lead, quote, online order, whatever information your form includes will be dropped into FileMaker. Feel free to contact us if you need further assistance or to discuss getting your form data to drop into FileMaker.

Did you know we are an authorized reseller for FileMaker Licensing?
Contact us to discuss upgrading your FileMaker software.

Michael Westendorf thumbnail
Michael Westendorf

Michael is a FileMaker Certified Developer who joins DB Services with nearly a decade of experience as an Information Technology Manager in the printing industry. Originally from San Diego, he moved to Iowa during his teens and earned his Bachelor's Degree in Management Information Systems from Iowa State University.

FileMaker 18 Certified Developer
FileMaker 17 Certified Developer
FileMaker 16 Certified Developer
FileMaker 15 Certified Developer
FileMaker 14 Certified Developer
FileMaker 13 Certified Developer
FileMaker 12 Certified Developer
FileMaker 11 Certified Developer
"We were actually able to add more features than we thought would be possible within our budget. We always experienced a ‘can do’ attitude and DB Services was incredibly patient and easy to work with."
Courtney Hartman
Art Director
"The new FileMaker custom website interface is very user-friendly and easy to follow for our clients. In addition, it is much faster than the old Instant Web Publishing (IWP) interface. Thank you and all the others who have helped us out at DB Services. I am very grateful for the excellent service you provide us. Its nice to know we can call you for help if we have an issue."
Wayne Capek
President
"We needed a solution that would simplify the administration of our responsibilities under our contract with the State of Indiana. We have seen a dramatic increase across the state in the number of potential foster and adoptive parents that have begun the preparation and training process. This increase has resulted in a significant opportunity for children available for adoption. That’s a big win for everyone! And it’s all because we can refer potential parents to the proper state contacts efficiently and quickly."
Chris Morrison
Executive Director
"Thank you for all of your expertise and valuable help. I am so grateful to have found DB Services."
Linda Findlay
Owner
"Thank you for our new database system. We transitioned from a carbon copy paper based system to a digital database. The software has saved us time and money. We used to archive all our jobs in cabinets, now we can look up a job in seconds from anywhere. The software allows us to easily email estimates to our customers in pdf format. In a year there was a return on investment just from eliminating the purchasing of our carbon forms."
Todd Cartmel
Owner
"The new system allows us to create and track jobs for customers along with inventory, something we had been doing with separate word and spreadsheet files. Because it’s now so intuitive, new staff members are able to begin using the database immediately without our usual training session and ‘cheat sheets’ for getting around within the file."
Tom Andrews
President