I\'m calling these functions from a controller to get the form and the values from the form. My question is, how can I keep the values in the form after a submit fails? I\'ve tr
[edit: run this on localhost]
autocomplete
does not work on all browsers; moreover, it is only a hint, so cookies are the only option left. The solution below works fine, however it will be great if other users contribute alternate ways for this popular request : Keep value in form after submitting
.