This article provides information regarding embedding a form onto a host page, and pre-filling fields on the form.
The form builder supports both “simple” and “dynamic” embeds. Both methods use <script> tags to inject the form into the hosting page’s document object model (DOM), enabling the form to receive all of the CSS styles from the hosting page. Both methods insert the form through AJAX-friendly methods (i.e. no “document.write” is used). Both methods provide field validation, address validation, and submit the data back into Slate. The difference then lies within the capabilities of pre-filling the form and passing query string parameters into it as well as adding the form through dynamic script. You can use the dynamic embed regardless of whether or not you choose to utilize these integration points, too.
Using query string parameters, Slate can prepopulate forms for a specific record or a specific form field (e.g., prepopulating an academic interest for an embedded form). A query string parameter is a parameter intended to pass information to a webpage by appending a URL with a parameter and its value.