Noob Question

djrzn 21 May, 2010
Heya guys _ noobish with the chrono engine, so please forgive me, but i was wondering how i could get chronoforms to parse results into an external web page which i currently have in an i-frame. I think i have to use the redirect plugin, im really lost help!!

BTW this is a hotel reservation engine.

For example, i want to have a form for booking a room in a front page module position.
The form has 2 date fields, for check-in/out, as well as having numbber adults, children, nights, an promso.

the variables have to be parsed into this format and sent to a external link

<!-- w --><a class="postlink" href="http://www.directinn.com/demo/step2.html?CheckIn=">www.directinn.com/demo/step2.html?CheckIn=</a><!-- w -->01/30/2009&CheckOut=01/31/2009&RoomCn
t="1"&Guest1="1"&Child1="0"&Promo="AAA"

the highlighted fields represent the data submitted on the form

Any help much appreciated
GreyHead 21 May, 2010
Hi djrzn,

Use the CURL plugin - it's designed for this.

Bob
djrzn 21 May, 2010
Bob, thanks for your response...

But i have tried using the curl plugin i just cant figure out how to parse data from form into the html link
GreyHead 22 May, 2010
Hi djrzn,

Target URL: <!-- w --><a class="postlink" href="http://www.directinn.com/demo/step2.html">www.directinn.com/demo/step2.html</a><!-- w -->

CheckIn
CheckOut
RoomCnt
Guest1
Child1
Promo

Will all go either in the input names from your form boxes, or the Extra Inputs data box. See the plugin help tab for a bit more info.

Bob
djrzn 23 May, 2010
Bob, thanks for all your effort. I really appreciate it; moreover, i beleive i'm getting farther.

Soo - I did what you said and i know I've made some progresss.

I'm getting somewhere but still not working correctly...
How can i view and decipher the debug report??

CURL OK : the CURL function was found on this server.
$params: JParameter Object ( [_raw] => debugging=0 target_url=http:// header_in_response=0 onsubmit=before_email [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /home/bayfront/public_html/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [debugging] => 1 [target_url] => http://directinn.com/018032/step2.html? [header_in_response] => 0 [onsubmit] => before_email ) ) ) [_errors] => Array ( ) )
GreyHead 23 May, 2010
Hi djrzn,

It looks as though you have left the ? on the end of the Target URL?
[target_url] => http://directinn.com/018032/step2.html? 


Hvae you enabled the Plugin in the Form Plugins tab?

If so what do you see when you submit the form? (You may need to set the from Debug on too.)

Bob
weighme 27 May, 2010
Thanks for the posted responses. I wanted to know the same thing and I'll give this a shot.
zsaloon 18 Jun, 2010
Wow, Ive been trying to get this same issue fixed on my sites for weeks. I'm glad ive found this forum. thanks
This topic is locked and no more replies can be posted.