I have a registration form I get users to complete.
I also check the form for the existence of certain fields/data. If some of the data is missing I throw a server-side error - meaning I check the form upon a page refresh (Submit).
The problem I have is that the form resets upon this error - no data in the form.
Is there any way of keeping the existing data the user has input when the page refreshes upon the check?
I also check the form for the existence of certain fields/data. If some of the data is missing I throw a server-side error - meaning I check the form upon a page refresh (Submit).
The problem I have is that the form resets upon this error - no data in the form.
Is there any way of keeping the existing data the user has input when the page refreshes upon the check?