This guide explains how to capture and validate user consent with a digital signature. Once the user consent and signature are captured in the form fields, you can map it to Salesforce.
- Initial Setup:
- Drag and drop an “HTML”, two “Text” and a “JavaScript” field onto your form.
- Rename the fields as needed.
- Note: You can use “Hidden” fields instead of “Text” fields. Here, we are using "Text" fields to display the captured values on the form.
- Configuring The “HTML” Field:
- Click the pencil icon on the “HTML” field.
- Paste the code.
- Please use this code:
- Please make sure to update the field IDs as per your form.
- Configuring The “JavaScript” Field:
- Click the pencil icon on the “JavaScript” field.
- Paste the code.
- Please use this code:
- Test Your Form:
- Try the form.
- Check the checkbox and enter your name as a digital signature.
- It captures the value in the "Text" fields.
- Note: You can apply the same approach with “Hidden” fields and map them to Salesforce.
Example Form.json5.5KB
For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂