Forms can be embedded on websites using the auto-generated and provided embed code.
Accessing the Website Script
- Form: When accessing the forms script from the form the environment, app, and form IDs are prefilled into the script.
- SDK (Software Development Kit): Generating the script from the SDK allows you to configure the environment, app, and form IDs specifically.
Important Notes
- Forms with Payment Events will need to use the payment receipt script. Learn more about Embedded Forms with Payments.
- If you are a developer attempting to embed a form on your own website, please visit the OneBlink Forms CDN GitHub Repository. It will provide instructions on how to embed a form into a custom website.
- If you are embedding a form with a reCAPTCHA (Not a robot) element, you will need to set up the reCAPTCHA integration.
- iFrame embed codes are no longer supported. Please use the instructions below to obtain the embed script.
Embed from the Form Summary
- Sign in to your site
- Navigate to Forms and select the form you want to embed
- Select the Summary tab
- Click the embed button next to the Form Link
- Click the Copy button next to the Form Embed Script
- The Navigation behavior configured on the form will be used for the submissionRedirectUrl and the cancelRedirectUrl lines. You can optionally change these to a URL you wish to send your users to.Note: The paymentReceiptUrl and paymentFormUrl fields are only required if the form takes payments.
- Paste the script onto your website
Embed from the Software Development Kit (SDK)
- Sign in to your site
- Navigate to Developer Tools and select SDK
- Select the Generate Script button in the Forms CDN card
- Select the specific Environment, App, and Form
- Click Copy
- Paste the script onto your website
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.