Hi!
First of all, sorry for my bad english.
Now when that i said, on to the problem.
I've been working on a form that needs the 'action' to an external page and I also need to provide the 'post' data.
So i decided to give the "http request" action a try.
What I need is to redirect the user to the external page but also send an E-mail with the POST data to the page owner.
well, setting the forms action to an external page and having the "HTTP Request URL" set to the same form url, with &event=submit it sends the data to both URL's. (according to http headers in firefox).
But i can not trigger any events.
According to the form "Response Element ID":
Anyhow, this is mu configuration:
Events:onLoad -->
Custom Code - Preload: some PHP
Load JS - A javascript function that reads and modifies FORM data, called by "onsubmit" in the "form" tag
Show html - well oviuosly loads the form 🙄
HTTP Request - The "splitter" for my forms data
according to the help section:
Vell since I've set my "action URL" to where I want to redirect the users (with the POST data) then the "on Submit" action does not get read by Chronoforms.
I've tried looking for a manual and browsed everywhere for some info about this action, but I can not find anything useable.
I have also tried setting the "HTTP Request URL" to an other PHP file to process the data there, but it does not send the POST data when I manually set this parameter. (except for the default location), so I can not do a Workarround that way.
So, my option is to try to access a event using the "Response Element ID".
But how do I set it?
I've tried several ways but I really do not understand how to use the "Response Element ID" element.
Any ideas anyone?
I'd be most thankful
/Cristian Herrera
First of all, sorry for my bad english.
Now when that i said, on to the problem.
I've been working on a form that needs the 'action' to an external page and I also need to provide the 'post' data.
So i decided to give the "http request" action a try.
What I need is to redirect the user to the external page but also send an E-mail with the POST data to the page owner.
well, setting the forms action to an external page and having the "HTTP Request URL" set to the same form url, with &event=submit it sends the data to both URL's. (according to http headers in firefox).
But i can not trigger any events.
According to the form "Response Element ID":
The id of the element which will be loaded with the response string when the request is completed with success.
Anyhow, this is mu configuration:
Events:onLoad -->
Custom Code - Preload: some PHP
Load JS - A javascript function that reads and modifies FORM data, called by "onsubmit" in the "form" tag
Show html - well oviuosly loads the form 🙄
HTTP Request - The "splitter" for my forms data
according to the help section:
Sometimes we need to submit our form to 2 different URLs, this was hard to do, the only way to do this was to use the CURL library, however, this action should allow this to be done now.
For example, set your form's action URL to PayPal, Moneybookers or SugarCRM..etc and use this HTTP Request to communicate with one of your form events, or vice versa.
Vell since I've set my "action URL" to where I want to redirect the users (with the POST data) then the "on Submit" action does not get read by Chronoforms.
I've tried looking for a manual and browsed everywhere for some info about this action, but I can not find anything useable.
I have also tried setting the "HTTP Request URL" to an other PHP file to process the data there, but it does not send the POST data when I manually set this parameter. (except for the default location), so I can not do a Workarround that way.
So, my option is to try to access a event using the "Response Element ID".
But how do I set it?
I've tried several ways but I really do not understand how to use the "Response Element ID" element.
Any ideas anyone?
I'd be most thankful
/Cristian Herrera