Prefill DateTime On The HTML Field

This guide will explain how to prefill the DateTime on the “HTML” field in a specific format.

  1. 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.

image
  1. Configuring The “Salesforce Lookup” Field:
  • Click the pencil icon of the “Salesforce Lookup” field.
  • Set “Object” and “Display Additional Fields”.
image
  1. 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.
image
  • Map the form field to the Object field.
image
  1. Configuring The “HTML” Field:
image
  • Click the pencil icon of the “HTML” field.
  • Paste the code.
image
  • Please use this code.
  • Here 5d6e-5c90-d286 is the field ID of the “Text” field.
  • Save the changes.
  1. Test Your Form:
  • Find a record.
image
  • It will display the DateTime using the HTML field.
image

For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂