With Chronoforms v4 I just created a thank you message and added my inline frame with the {field_name} variables. When the form was submitted a new page opened with the contents of the iframe displayed.
With Chronoforms v6 I've tried {data:field_name} and {field_name} and the data isn't passed. When I use message the results are being loaded into the module position instead of the body (even when body is selected). When I try using a redirect, the page loads but the data isn't passed. I'm saving the data to the session and am frustrated as this should be a simple operation but I can't figure it out.
Thanks!
With Chronoforms v6 I've tried {data:field_name} and {field_name} and the data isn't passed. When I use message the results are being loaded into the module position instead of the body (even when body is selected). When I try using a redirect, the page loads but the data isn't passed. I'm saving the data to the session and am frustrated as this should be a simple operation but I can't figure it out.
Thanks!
If you've saved the data to session, then you either need to read it back out of the session (use the multipage action and tick the "mix with request data" button) or use {session:identifier.field} e.g. {session:multipage.field}
Let me try again. Trying to keep this simple like it was in v4
I have a form with 1) hidden field (agency_id) and one text field (oid) that is displayed in a module position.
When I submit that form I want to display an inline frame in the body of the page (not the module position).
I have the inline frame as: <iframe src="https://www.sigtn.com/supplier/locatebyoid.cfm?agency_id={agency_id}&utp=consumer&type=consumer&&oid={oid}" width="100%" height="2000px" frameborder="0"></iframe>
I used to display this in the "Thank You Message" option in v4.
The debugger results are:
You can see the old functionality at: http:signature-basic.waveconcepts.com (use 1292475 as the offer ID).
Thanks!
I have a form with 1) hidden field (agency_id) and one text field (oid) that is displayed in a module position.
When I submit that form I want to display an inline frame in the body of the page (not the module position).
I have the inline frame as: <iframe src="https://www.sigtn.com/supplier/locatebyoid.cfm?agency_id={agency_id}&utp=consumer&type=consumer&&oid={oid}" width="100%" height="2000px" frameborder="0"></iframe>
I used to display this in the "Thank You Message" option in v4.
The debugger results are:
Array ( [chronoform] => offer-id-search-touraid [event] => submit [agency_id] => 2525 [oid] => 1292475 [search] => [option] => com_gantry5 [view] => custom [Itemid] => 1341 )
Array ( )But those values are not being written into that src value (using either the message or redirect option). I've tried {session:agency_id}, {data:agency_id}, [] instead of {} ????
You can see the old functionality at: http:signature-basic.waveconcepts.com (use 1292475 as the offer ID).
Thanks!
Hello,
If you need to display something in the page body then you will need to configure the "Display Section" action of the form and set the "Action url" to {url:submit}, that will force the form to open a form page instead of the same page with the module.
Then you can use a custom code action in the submit event with any code you need, including the shortcodes syntax {data:field_name}
Best regards,
If you need to display something in the page body then you will need to configure the "Display Section" action of the form and set the "Action url" to {url:submit}, that will force the form to open a form page instead of the same page with the module.
Then you can use a custom code action in the submit event with any code you need, including the shortcodes syntax {data:field_name}
Best regards,
This topic is locked and no more replies can be posted.