Usage of HTTP Request

Lesanjo 15 Dec, 2012
Hello,

I'm kind of green when it comes to AJAX, cURL and the likes. I was advised that the HTML request action in chronoforms would be perfect for querying forms.

I did look at jQuery AJAX API and querying PHP files is straight forward but I can't access chronoforms PHP in the same way. I also don't know how a response would be obtained within one form to another.

Please enlighten me on the workings of HTTP Request action

Thanks.
GreyHead 15 Dec, 2012
Hi lesanjo,

What exactly do you need to do? I don't know what 'querying forms' means here :-(

MooTools has an Ajax API that works well with ChronoForms, there are many examples here in the Forums and in the FAQs

Bob
Lesanjo 15 Dec, 2012
I meant adding the HTTP Request action in a form and having it get manipulated values from another chronform without hardcoding the Ajax calls manually.
GreyHead 15 Dec, 2012
Hi Lesanjo,

I'm still not clear exactly what you need to do :-(

ChronoForms has an HTTP Request action that you can use to access a form event. Does that do what you need?

Bob
Lesanjo 15 Dec, 2012
Suppose form 'A' is a search form for names and form 'B' searches for articles associated with an individual.

I need to add article information specific to one user (form b) to search results of the individual users (form A).

Simply put, I need to know how to populate the action's fields and how to get results using the action. would you happen to have working example?
GreyHead 15 Dec, 2012
Hi Lesanjo,

That helps a little. Are these real forms? Are they on your own site? Could you get the results you need form a DB query?

There's an Ajax enabled drop-down action here that sound as though it might help, but I'm far from certain.

Bob
This topic is locked and no more replies can be posted.