Storing field values in cookies maybe useful not only during the debugging/developing the app but also for users who can continue working on the same browser next day.

Another method which makes user’s life lighter is to implement form template mechanisms. Users will be able to store some form states on the server and use them later.

 

Cookie names are generated at the base of prefix and the field name. This override must be used carefully to avoid cookie names overlapping/overriding. I have also added a possibility to store only valid field values.

Overriden classes:

 

 

I have added also ‘vtypes‘ for IP address validation.

To test the sample just set some fields of the form and reload application in fiddle.