Sent data from form 1 to Purlform and create Purl

From customer in Switzerland i received this solution. I have not tried it. He is using the Page Purlform as a personalised page. He wants managers to add new customers to the Purlform using another form published on another page. This is his solution. Thanks to Marco Kuster from Direct Mail House/St. Gallen/www.dmh.ch

> You need the Formidable Api extention for this.

I found a solution to add entries from a form A to a Form B an generate automaticly a PURL.

Its pretty easy . Make it like that:

So i have a form called «Add Form» this form is looking like that and have the ID 6. This form i add to a new Page which is Password Protected. So just User which have the Passwort could generate Entries. It could also be hosted on another Webseite somewhere else.

The PURL Form have the ID 2.

The Imported thing is, that you have installed on both side ( if you dont want to send data just in another form on the same webserver) the Formidable API Plugin.

Next Step just go into your SENDING Form. This Form where you want to collect data and send if afterwards to the PURL Form. In my case the Number 6.

Click on Settings and then «Form Actions. Here you now see the icon for API if the Addon is activated. Click on it to open a new entry.

I will now explain it with my sample.

  1. Give a Label: in my case. API Add Form to PURL Form
  2. Give in the URL. If you run it on the same server just add this code :

[siteurl]/wp-json/frm/v2/entries

If it runs on another webserer make it like that:

                https://site-to-send-to.com/wp-json/frm/v2/entries

  1. Put in your API Key – dont give this API Key to any other.

To find the API key, go to your ‘Formidable’ → ‘Global Settings’ and click the ‘API’ tab.

  1. Now in the Data Format use the Standard «json»
  2. Add Values:
    1. Make sure to use the receiving field key in the “Key” column. Use the sending field key or ID in the “Values” column.
    2. The First entry put form_id in the value field put the «receiving form id» in my case 2 (PURL Form)
    3. Afterwards give all the Fields that you want to send from the «collect form» tot he «Purl Form»
    4. Example
    5. In the Purl Form my Field Key  for Firstname is «pz796» so i put this into the Key Field. In the Value Field i put the ID of my Fistname in the Sending Form example [37]
    6. Go on for each field.

  1. Choose the Method « Post »
  2. Choose the Trigger « Create »
  3. Thats it – if you open now the Form «Add Form» and give in some Data and click sumbit the data also generate the same data in the PURL Form.