This guide will explain how to prefill the DateTime on the “HTML” field in a specific format.
- Initial Setup:
- Drag and drop a “Salesforce Lookup”, a “Salesforce Prefill”, a “Text”, and an “HTML” field onto your form.
- Rename the fields as needed.
Note: You can use a “Hidden” field instead of the “Text” field.
- Configuring The “Salesforce Lookup” Field:
- Click the pencil icon of the “Salesforce Lookup” field.
- Set “Object” and “Display Additional Fields”.
- Configuring The “Salesforce Prefill” Field:
- Click the pencil icon of the “Salesforce Prefill” field.
- Set “Object”, “Formyoula Parent Field”, and “Salesforce Parent Field” as shown below.
- Map the form field to the Object field.
- Configuring The “HTML” Field:
- Click the pencil icon of the “HTML” field.
- Paste the code.
- Please use this code.
- Here
5d6e-5c90-d286is the field ID of the “Text” field. - Save the changes.
- Test Your Form:
- Find a record.
- It will display the DateTime using the HTML field.
For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂