Setting up a Database for Foundation Forms


Foundation forms can be used to send its data to a MySQL database. Its very simple to setup…

You will need to setup your MySQL database and corresponding table with your hosting company. The stack, nor we, will be able to help you do this.

The fields in the database table need to exactly match the field names in Foundation Form. For example, if I have the following field names (for every for input) in my form:

  • name
  • email
  • comments

Then I need to have the same exact fields in my database table. The spelling and case needs to be identical. I recommend that you use only alphanumeric characters and keep it all lower case.

Once you have all of this setup, you simply need to configure that Form Base stack with your database credentials and you should be good to go!