<![CDATA[ Formit Redirect and personal message - My Forums]]> https://forums.modx.com/thread/?thread=104013 <![CDATA[Formit Redirect and personal message]]> https://forums.modx.com/thread/104013/formit-redirect-and-personal-message#dis-post-559361 Using the redirect option to a new page, i would like to write a success message including some personal info already used in the email placeholders e.g. [[+name]]

What is the easiest way to do so ?

I have to call the formit snippet on that new page, how ?
e.g. [[!FormIt?
&hooks=`getInfo`
]]
and write an additionnal snippet getInfo to set placeholders containing this info ?? or there is an easier way to re use the email placeholders ?

Many thanks for your help]]>
justinet Jul 05, 2018, 09:53 PM https://forums.modx.com/thread/104013/formit-redirect-and-personal-message#dis-post-559361
<![CDATA[Re: Formit Redirect and personal message]]> https://forums.modx.com/thread/104013/formit-redirect-and-personal-message#dis-post-559374 adding an additional extra. I am still learning and also endeavouring to use the minimum amount of extras,
to make it easier for maintenance and upgrades, also less potential vulnerabilities...
]]>
justinet Jul 06, 2018, 04:54 PM https://forums.modx.com/thread/104013/formit-redirect-and-personal-message#dis-post-559374
<![CDATA[Re: Formit Redirect and personal message (Best Answer)]]> https://forums.modx.com/thread/104013/formit-redirect-and-personal-message#dis-post-559363 FormItRetriever on the page you are redirecting to you can populate the page with data collected in the form.

So if you had this in your form...

	<label for="firstname">
        First Name:
        <span class="error">[[!+fi.error.firstname]]</span>
    </label>
    <input type="text" class="firstname" name="firstname" id="firstname" value="[[!+fi.firstname]]" />


You would put this on the page you are redirecting to...

[[!FormItRetriever]]
Your name: [[!+fi.firstname]]
]]>
andytough Jul 06, 2018, 09:06 AM https://forums.modx.com/thread/104013/formit-redirect-and-personal-message#dis-post-559363