Currently if javascript is disabled and a user fills out the form with an error, the errors and data entered will be lost. We would have to come up with a solution to save the form state somehow. I thought about using URLSearchParams but im not sure if this is the right way to do it. I have already began work here https://github.com/svemix/svemix/tree/better-js-disabled-form-handling.
Another solution would be to save the state in the session, but setting up sessions is not required currently, so this would not work for anyone.
Currently if javascript is disabled and a user fills out the form with an error, the errors and data entered will be lost. We would have to come up with a solution to save the form state somehow. I thought about using URLSearchParams but im not sure if this is the right way to do it. I have already began work here https://github.com/svemix/svemix/tree/better-js-disabled-form-handling.
Another solution would be to save the state in the session, but setting up sessions is not required currently, so this would not work for anyone.