Submit WordPress form data to external url
Submitting WordPress form data to external url is part of RegistrationMagic integration with third-party services. This process is accomplished using the HTTP POST Protocol.
The external server acts as an data storage manager for storing form submission data. This is useful while maintaining multiple databases for form submissions. The URL you embed must be configured to capture data sent by the form.
You can also configure the third-party server as form data backup. Let’s learn the process of sending form submission data to external URL.
Settings
Go to Registrationmagic plugin. Click “All Forms”.
Click on “Dashboard” from any form. This will take you to the dashboard page. Go to Post Submission settings under the Configure category.
Navigate to the Post Submission page. The first field configures form success message. The next field generates a unique registration number for the user.
This field is followed by a Redirection field. It allows you to redirect your user to a page on form submission. You can also direct your user to a preferred URL.
Configuring the “Send submitted data to external URL” feature
The next field is a checkbox with the message “Send submitted data to External URL”. Choose a URL of third party server. All the data will be redirected to the database of the external server.
The rule is triggered every time the form is submitted by your user.
As an example, we have filled the URL with https://newdatabase.com/form-submission-data/ as the link to the external server. All form submission data is stored at that URL.
Click on Save. Go back to your form.
You have now integrated form submission database with a third-party URL. This external server will hold your data post submission.
- Complete Automation Guide for WordPress Forms - July 20, 2024
- WordPress User Management Plugin Guide - July 18, 2024
- Add CAPTCHA in WordPress Login and Registration Form? - July 16, 2024
- How to Send Automated Welcome Emails in WordPress - July 15, 2024
- WordPress User Roles, Permissions & Role Editor [Complete Guide] - July 14, 2024
- How to Display Custom Success Message in WordPress Forms - July 12, 2024
- Publish Registration Forms and Display Registered Users - July 11, 2024
- How to Approve WordPress User Accounts Without Logging Into Dashboard - January 25, 2021
- How to Set up Two Factor Authentication in WordPress - April 4, 2019
- How to Edit or Replace Default WordPress Registration Form - April 2, 2019
Since there is the possibility of changing user information after registration, is the functionality for sending modified data to the external server page using the HTTP PUT protocol made available when a wordpress user profile is being updated?
You can send the data to external URL from post submission settings. Go to RegistrationMagic > dashboard of the form > post submission > check: send submitted data to external URL > save it.
Since it gives the possibility to edit the form submission after users have submitted, is it possible to update the external server via HTTP PUT?
You can send the data to external URL from post submission settings. Go to RegistrationMagic > dashboard of the form > post submission > check: send submitted data to external URL > save it.
In my cath all script i only get
Array
(
[First_Name] => test
[Last_Name] => blq
[Email] => bla@test.nl
)
I also need the username and password field to put this in an other database. These fields do not get send after submit? I Really need this.
Please raise a ticket with our support as we will need further technical details as to where and how this script is expected to be called.
The Export All button available under RegistrationMagic > Inbox is a feature of premium version of RegistrationMagic and not available in the standard version. Please make sure you are using the premium version of RegistrationMagic.
So the form’s field with name = “username” should be retrieved using $_POST[‘username’] by the external URL…? But that doesn’t seem to work! Any clues how to get the retrieve the data on the external page…?
RegistrationMagic sends array with keys as field IDs and each array element as an object with properties of field label, value, type and meta.
Can you please help with how to retrieve data from the form in the external file?
In order to export submissions, in WordPress dashboard of your site, go to RegistrationMagic > Inbox > Export All
Hello. You write “All form submission data is stored at that URL.”
Can you develop ?
In particular, the caption at the right of the option suggests that the URL has to contain a script (french translation). What about this script ?
Thanks in advance for your answer.
RegistrationMagic sends submission data to the configured URL. This allows to save the submission data to an external website or database. As the URL is external to WordPress, a script development to catch the data will be required.