Auto-submit form on field change

Hi,

I have a long form with around 30 fields (many of which are text areas) and wanted to see how do you recommend to implement auto-save without the need for a submit button?

1/ Is it better to have an update form for each field that is submitted on the ‘Change’ event of the field with a debounce of 2000?

2/Alternatively do you prefer if we use the change event on the field level to set a global variable to true once there is a change and periodically (each 15 seconds?) the frontend checks the global variable and submits if there is a change

3/ Shall we leverage the local storage and then submit if there is a change in the form after a longer timeframe?

Thank you!

Hey Elias,
You can safely go with option 1 and debounce :slight_smile:

1 Like

Thanks @Teodor so if i understand correctly i have to create 30 forms on that page for that to work, is that correct?