This guide will demonstrate how to auto-select a Salesforce Select field record based on custom date logic.
Please add a Salesforce Select field on your form page and select the Event object. Select the following display fields - Subject, StartDateTime and EndDateTime.
Please enable the “Trigger Salesforce Select On Page Load” option on the builder side:
Add the following JavaScript to your form and update the field Id and set “JavaScript Load Delay (Milliseconds)” to 0.
Example form template:
[Example Form] Auto Event Selection Record Based On Dates.json3.6KB
For any questions, please contact us - at [email protected] or the Formyoula in-app chat 🙂