Embedding an eForm in a URL
An eForm’s link for URL embedding can be constructed using the following template:
https://tenantname.thereforeonline.com/eForms/#/embed/FormNo
In this example, the “FormNo” is the number of the form found in the Therefore™ Solution Designer or in the link of the browser when you access/ edit the selected form.
This link requires the user to log in to the forms portal using a regular Therefore™ user account.
|
|
Note: In order to embed an eForm in an HTML page using an iframe, the "Allow embed web application" setting must be set to "True". This is found in the advanced tab of the Therefore™ Solution Designer's object settings. |
Optional Query Parameters
The following list contains several other query parameters that can be used when embedding eForms, and their impact.
| Query Parameter | Description |
|---|---|
allowanonymous=1
|
Anonymous/ External usage where log-in is not required. This requires eForms users to be set up in the Therefore™ Web Client beforehand. |
ssoToken=<token>
|
A valid JWT for user log-in (for example, from another authentication source, such as a company portal). |
postAction=thankyou
|
Displays a 'Thank You' page following a successful submission. |
postAction=close
|
Closes the browser window following a successful submission. |
postAction=redirectto
|
Redirect the browser window following a successful submission. |
redirectUrl=<url to redirect to>
|
The URL used to redirect the browser. Redirect URLs must be encoded using URL encoding. For example, this can be done by using a tool such as URL encoder: |
List of sample URLs
| Description | URL pattern |
|---|---|
| Embed the Therefore™ eForms web interface |
Copy
|
| EMBED - displays the eForm full screen without frame) |
Copy
|
| DATAENTRY - displays the eForm with frame/ navigation |
Copy
|
| DRAFTS - displays the eForm drafts with frame/ navigation |
Copy
|
| EDIT - displays the eForm with frame/ navigation |
Copy
|
| Anonymous Access |
Copy
|
| Force Manual Authentication |
Copy
|