iFrame Request

Bullfn33 03 Jun, 2012
I'm attempting to use this action item but don't completely understand how this is to be set up. I have a working form with this loaded into the On Submit event. In the iFrame Request parameters, for Enabel iFrame Request I selected Yes and in the Response Element ID I wrote an element ID called "confirm."

In my form's code tab I wrote the following below the original form's code.
<div id="confirm">
test
</div>


From what I understand, after the form is submitted to the database, only what is between this div id tag should show up and not before but the word test shows up on Load. Could we have a short explanation on how this action should be set up?
GreyHead 04 Jun, 2012
Hi Bullfn33 ,

I really don't know how this works. I've had a look at the code and still don't understand much :-(

If you use an empty div as a container then presumably nothing will show up On Load?

Bob
Bullfn33 04 Jun, 2012
Hi Bob,

Correct, nothing shows when the container is empty on load but it is still there. In Firebug, you can see the div tag below the form code and right under it there is a hidden input which looks like this:
<input type="hidden" value="1" name="7f93632d4368c7603e873b92ebeff5a3">


I'm guessing this is related to the iFrame Request but not sure. It's not a big deal for me because I was more just curious if this was something I could use but not essential for my project at this time.

John
GreyHead 05 Jun, 2012
Hi John,

I don't think that div has anything to do with the iFrame request. It's there in all ChronoForms and is a part of a security check (it may be the Joomla! security token).

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