Read more about how to prefill form fields on WordPress.
Read more about how to prefill form fields when sharing the form link.
Back to the code needed when embedding the form on a regular web page. We provided the following code as an example. You can paste it into your web page, and make the adjustments indicated below.
There are three areas in which you need to focus:
control3333333-1=Johnmeans that the field with the ID
Johnas the prefilled value. The field with the name
control3333333-2is prefilled with the value
Doe, and so on. Field – value pairs are linked through the operator
&. To identify form field IDs, inspect the form code using a browser inspection tool.
When you have a form field split into several subfields, you need to add the subfields number after the field ID. For example, the Name field contains the First Name and the Last Name subfields. These two have separate IDs: First Name – control33333333-1, Last Name – control33333333-2.
As previously mentioned, if you’ve copied the code from the Publish section, you need to add this extra part to your embed code. Replace the control ID with your own field’s ID and our default values with your desired ones.