This guide will explain how to extract date and time values into separate form fields from a date&time field using JavaScript.
- Please add a Date&Time, Date and Time fields on the form:
- Next, please drag&drop a JavaScript field and copy the below code into it:
- Please change the field IDs in the JavaScript as shown below:
The field IDs can be copied when editing the fields:
Now once you capture a Date&Time field, the Date and Time fields will be automatically populated:
For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂