Hi,
I wanted to have a 'thank-you' page using some of the form data to personalise it (e.g. Thank you John). I couldn't work out how to have this happen with a redirect url so hacked ChronoForms a little.
Not easy to show here as it has several parts but basically I added a {new-section} divider into the form html and then exploded $rows[0]->html into an array. $html[0] has the original form code and $html[1] has the thank you page code.
Bob
PS This could also be changed in the admin, but for me the front end hack was much simpler.<br><br>Post edited by: GreyHead, at: 2007/06/04 20:04
I wanted to have a 'thank-you' page using some of the form data to personalise it (e.g. Thank you John). I couldn't work out how to have this happen with a redirect url so hacked ChronoForms a little.
Not easy to show here as it has several parts but basically I added a {new-section} divider into the form html and then exploded $rows[0]->html into an array. $html[0] has the original form code and $html[1] has the thank you page code.
Bob
PS This could also be changed in the admin, but for me the front end hack was much simpler.<br><br>Post edited by: GreyHead, at: 2007/06/04 20:04