bublathejuggla
Technical User
hi. i have a registration page contructed using HTML where users can enter their personal details to register with my system. I have used javaScript to validate the inputs by i.e. checking no fields have been left blank. On submission, if the user selects the same userid as an existing user, they are directed to an error page stating the error and they can follow a link back to the registration page to make an alternative choice. HOWEVER, javascript.history.back(), which is what im using, retains all previous inputs on returning to the registration page. This includes the previous userid the user entered so they are again taken to the error page. This event loops and is inevitable! does anyone please know a way around this?