I'm done some searching around the form and I'm just throwing this out there to see if anybody has any good ideas before I start doing anything with this. Here is the scenario:
1. I have a form where users have to enter their ID number.
2. I have a dataset that matches those ID numbers with their address.
3. I need to validate that the ID they enter is in fact an actual ID and not made up.
4. I also need to display their address on the screen below the ID field so they can make sure they input their ID correctly.
My dataset that I need to validate against is quite large (1,818 IDs). They are a 7 digit number that all start with 0 and range from 0071264 to 0584684 and are obviously not consecutive numbers (that really doesn't matter too much I suppose). I can put this dataset wherever I need to, in the WP database, csv or text file on the server, etc...
The ID number is the first thing they enter on the form and I need it to validate after they enter in their ID (not upon form submission).
I also have the form setup to redirect back to itself with half of the form being filled in automatically via query strings from the initial submission. The reason for this is users will be submitting the form anywhere from 1-10 times to register each person in their group. I realize that will require the form to revalidate the ID number when the form loads again after redirection and the fields are filled in via query strings.
So if you have any insight or if you've seen anybody do anything similar to this and wouldn't mind giving me a push start that would be awesome. Any other suggestions would be welcomed.
Thanks,
GB