Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Namrata 8 posts 78 karma points
    Jul 10, 2017 @ 09:52
    Namrata
    0

    Unable to save data into Mysql Database

    Hello Nick

    I have created a Formulate Form that on Submission saves the data in MySql database. With reference to your notes, we have created a submission handler for the same. However, we are not able to see the data in the database although the success submission message "Your request has been received!" is displayed.

    I have the below questions - 1. How is the connection to the required database established i.e. where are the database credentials passed? 2. How to link the field data to the corresponding table?

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Jul 10, 2017 @ 16:25
    Nicholas Westby
    0

    How have you determined that the data is not stored in the database?

    Formulate uses the same connection string as Umbraco. If you have configured Umbraco to run from MySql, Formulate will also store data to MySql.

    How to link the field data to the corresponding table?

    I'm not really sure what you mean by "link the field data" in this sentence. Can you clarify?

  • Namrata 8 posts 78 karma points
    Jul 11, 2017 @ 13:54
    Namrata
    0

    Hi Nick, when trying to add the data source in Formulate, I see the message that the data sources feature is not yet implemented. So how do I configure Formulate fields to store data to MySQL database?

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Jul 11, 2017 @ 15:05
    Nicholas Westby
    0

    So how do I configure Formulate fields to store data to MySQL database?

    As I said:

    Formulate uses the same connection string as Umbraco.

    Are you using MySql for Umbraco? If so, Formulate will use it too.

    Just add the "Store Data" form handler, and then view the submissions by choosing your form from the "Submissions" node:

    Submissions

  • Namrata 8 posts 78 karma points
    Jul 25, 2017 @ 06:06
    Namrata
    0

    Thanks Nick for all your help till date. Will you help to create a section like this and another section must be Added by clicking on Add another button.enter image description here

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Jul 25, 2017 @ 14:59
Please Sign in or register to post replies

Write your reply to:

Draft