Form sharing
Learn how to share or embed the form with users.
Aidbox Forms supports two main scenarios for sharing forms with users:
To use form sharing, you must explicitly configure RSA private/public keys and a secret.
Sharing a Form Link with the User
After creating a form, you can generate a link to the form and send it to the user via email or any other messenger for him to fill out. Here's how you can do it:
Select the Form:
Choose the form you want to share from your list of forms.
Generate the Link:
Use the "Share" option within the Aidbox Forms interface.
Generate the link via $populatelink FHIR SDC operation.
Copy the Link:
Once the link is generated, copy it to your clipboard.
Send the Link:
Paste the link into an email or messenger of your choice.
Send the message containing the link to the user or users who need to fill out the form.
User Fills Out the Form:
When the user clicks on the link, they will be directed to the form.
The user can then fill out the form online (or offline) and submit it.
Review Responses:
After the user submits the form, you can access and review their responses within Aidbox Forms.
You can set up the user redirect after the user submits the form. Look here.
Default behavior when the user remains on the page with a completed form
Embed the Form via iframe into an application or website
After creating a form, you can generate an iframe code for this form and embed it into your application's HTML or website where you want the form to appear. Here's how you can do it:
Select the Form:
Choose the form you want to embed from your list of forms.
Generate the iframe Code:
Use the "Share" option within the Aidbox Forms interface.
Generate the link via $populatelink FHIR SDC operation and use it with iframe.
Copy the iframe Code:
Once the iframe code is generated, copy it to your clipboard.
Embed into Your Application's HTML:
Open your application's HTML file where you want the form to appear.
Paste the copied iframe code into the appropriate location within the HTML file.
Save and Publish Your Application:
Save the changes to your HTML file and publish your application to make the embedded form accessible to users.
User Fills Out the Form:
When users access your application, they will see the embedded form and can fill it out directly within your application.
Collect and Review Responses:
After users submit the form, you can access and review their responses within Aidbox Forms.
Last updated