Feb 4th, 2010, 7:57 AM
Hi Folks,
Looking for some help on this one. I'm using a HTML form with 8 fields directed at Form Tools as a backend. The fields are:
First Field - An Email Address field
Fields 2 - 7 are boxes (or drop downs) that are to accept numbers up within a certain range (1 to 99)
I'm trying to modify process.php in FormTools to do the following:
1) Check email isn't already in database and its valid (Simple @ symbol check), if not, reject form and redirect
2) Check all numbers are within the range, if not, reject form and redirect
3) Put numbers in numerical order regardless of which field they were entered in
4) Enter in SQL Database with FormTools
But my PHP really isn't up to the task. Any help or even a pointer would be great! Is modifying process.php the best way to do this, or perhaps could the form page be scripted in PHP to do this, then the info sent to process.php
Best Regards,
ironclaw
Looking for some help on this one. I'm using a HTML form with 8 fields directed at Form Tools as a backend. The fields are:
First Field - An Email Address field
Fields 2 - 7 are boxes (or drop downs) that are to accept numbers up within a certain range (1 to 99)
I'm trying to modify process.php in FormTools to do the following:
1) Check email isn't already in database and its valid (Simple @ symbol check), if not, reject form and redirect
2) Check all numbers are within the range, if not, reject form and redirect
3) Put numbers in numerical order regardless of which field they were entered in
4) Enter in SQL Database with FormTools
But my PHP really isn't up to the task. Any help or even a pointer would be great! Is modifying process.php the best way to do this, or perhaps could the form page be scripted in PHP to do this, then the info sent to process.php
Best Regards,
ironclaw