Feb 6th, 2010, 2:12 PM
Hey Ironclaw,
Probably the best approach would be to use the API for your form rather than using submitting the form directly to Form Tools' process.php page. If you have it configured, you don't need to re-add it via Form Tools admin UI, you can just edit your form to use the API instead.
The reason I'd suggest using the API is because of the following:
So the API would really fit the ticket very well!
But yes, it does require dabbling in the PHP a little, which is unfortunate. But these tutorials should really help:
- Adding a single-page form with the API
- Adding server-side validation to your forms
Hope this info at least gets you on the right track -
Ben
Probably the best approach would be to use the API for your form rather than using submitting the form directly to Form Tools' process.php page. If you have it configured, you don't need to re-add it via Form Tools admin UI, you can just edit your form to use the API instead.
The reason I'd suggest using the API is because of the following:
- You can add server-side validation to ensure the POST values are within range.
- You can utilize methods found in the API - namely the ft_api_check_submission_is_unique. You could use that to check the uniqueness of the email address.
- You can sort the numbers however you wish, prior to adding to the database.
So the API would really fit the ticket very well!
But yes, it does require dabbling in the PHP a little, which is unfortunate. But these tutorials should really help:
- Adding a single-page form with the API
- Adding server-side validation to your forms
Hope this info at least gets you on the right track -
Ben