Hey guys
I'm pulling up a form in an android webview app.
I've stripped the template on the form using &tmpl=component
but if there's a validation code error, the form redirects fine, but the site template is restored.
I need to add &tmpl=component to the error page - if that's possible?
Thanx a ton for your help
Mark
I'm pulling up a form in an android webview app.
I've stripped the template on the form using &tmpl=component
but if there's a validation code error, the form redirects fine, but the site template is restored.
I need to add &tmpl=component to the error page - if that's possible?
Thanx a ton for your help
Mark
Hi Mark,
Change the form Submit URL (on the Form General tab) to
http://example.com/index.php?option=com_chronocontact&task=send&chronoformname=form_name&tmpl=component
with the appropriate form_name
This will work provided that you only use the form without the template. Otherwise you can change it on the fly with JavaScript -- see the item "Keeping our options open" in this extract from The ChronoForms Book
Bob
Change the form Submit URL (on the Form General tab) to
http://example.com/index.php?option=com_chronocontact&task=send&chronoformname=form_name&tmpl=component
with the appropriate form_name
This will work provided that you only use the form without the template. Otherwise you can change it on the fly with JavaScript -- see the item "Keeping our options open" in this extract from The ChronoForms Book
Bob
Thanx Bob,
I would have gone to the book first but I'm travelling and don't have it with me
Cheers
Mark
I would have gone to the book first but I'm travelling and don't have it with me
Cheers
Mark
This topic is locked and no more replies can be posted.