I have a time picker field in my form and would like to set a default time that isn’t the current time, e.g 8am. How can I do this?
You use the Form JS API to set the time to your desired time.
Fliplet.FormBuilder.get()
.then(function (form) {
// Sets the value to a literal value
form.field('time picker').set('08:00');
})
Documentation: Form Builder JS APIs | Fliplet Developers Documentation
That works, thanks!