Dec 26th, 2009, 5:25 PM
Hi Ben,
Love the new formtools. I have been using the first form tools for over a year and now I am just starting to use FT 2.0 on a new project.
A client of mine is sending form data via a SOAP webservice. The webservice validates all the data and is sent to a networks database. My client also wants the form data to be sent to a database on their website.
I thought this would be an excellent time to use form tools again.
However, i'm having a problem sending the data.
Basically, on my form page I have this code, which comes into play after a user submits the form:
So if the the form that has been submitted gets the ok from the SOAP webservice the user receives the "Thank you text".
It's at this point I want the data to be sent to form tools. I have the form data in variables, they are also in the $_POST['field'] variables.
Im having a problem because I don't need to use the "submit_button" or "next_page" variables, etc. I don't need form tools to redirect to a thank you page or anything like that.
Is it possible to simply send the data to form tools as it is in the background, if it has been successfully received by the SOAP webservice?
So something like:
Thank you for any help in advance! :-)
Love the new formtools. I have been using the first form tools for over a year and now I am just starting to use FT 2.0 on a new project.
A client of mine is sending form data via a SOAP webservice. The webservice validates all the data and is sent to a networks database. My client also wants the form data to be sent to a database on their website.
I thought this would be an excellent time to use form tools again.
However, i'm having a problem sending the data.
Basically, on my form page I have this code, which comes into play after a user submits the form:
Code:
<?php if ($result[[Message] == "OK" ) { ?>
THANK YOU TEXT
<?php } else { ?>
ERROR TEXT
<?php } ?>
So if the the form that has been submitted gets the ok from the SOAP webservice the user receives the "Thank you text".
It's at this point I want the data to be sent to form tools. I have the form data in variables, they are also in the $_POST['field'] variables.
Im having a problem because I don't need to use the "submit_button" or "next_page" variables, etc. I don't need form tools to redirect to a thank you page or anything like that.
Is it possible to simply send the data to form tools as it is in the background, if it has been successfully received by the SOAP webservice?
So something like:
Code:
<?php if ($result[[Message] == "OK" ) { ?>
ft_api_process_form();
THANK YOU TEXT
<?php } else { ?>
Thank you for any help in advance! :-)