Hey everyone,
The scenario is a page that gets user registration details. I do a bunch of Javascript validation, but the only way I can see to validate that the postal code matches the suburb is after the submit. No big deal, I can even test for a non-existant suburb (spelling mistake?).
So if I find that the suburb does not match the postal code I want to push them back to the form with a message indicating the problem.
My problem is how to retain the details they have already entered (e.g. name, address, phone etc) without creating a super long querystring. Given that the form object is already populated I figure there must be a way of passing it and its contents back to the page without submitting it.
Any thoughts?
Thanks in advance
Steve
Steve Davis
hey.you@hahaha.com.au
The scenario is a page that gets user registration details. I do a bunch of Javascript validation, but the only way I can see to validate that the postal code matches the suburb is after the submit. No big deal, I can even test for a non-existant suburb (spelling mistake?).
So if I find that the suburb does not match the postal code I want to push them back to the form with a message indicating the problem.
My problem is how to retain the details they have already entered (e.g. name, address, phone etc) without creating a super long querystring. Given that the form object is already populated I figure there must be a way of passing it and its contents back to the page without submitting it.
Any thoughts?
Thanks in advance
Steve
Steve Davis
hey.you@hahaha.com.au