success message instead of redirect to new template
Posted: 23 July 2008 12:19 PM   [ Ignore ]
Newbie
Rank
Total Posts:  9
Joined  2008-07-22

how would I just have a thank you message above the form instead of redirecting to a new page with a thank you message?

and instead of the EE error message when a required field is not filled in, how can I just have it say required beside the field?

Profile
 
 
Posted: 23 July 2008 12:55 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18
catch - 23 July 2008 12:19 PM

how would I just have a thank you message above the form instead of redirecting to a new page with a thank you message?

The easiest way you could do this is have Freeform redirect to the current page after submittal, but add an extra “segment” to the URL such as “thanks”
Then, place a conditional like this above the form:

Example URL:

http://www.yoursite.com/template_group/template/thanks/

{if segment_3 == "thanks"}Thank you!{/if}

catch - 23 July 2008 12:19 PM

and instead of the EE error message when a required field is not filled in, how can I just have it say required beside the field?

This needs to be done with Javascript…
An example might be http://www.livevalidation.com/ smile

 Signature 
Profile
 
 
Posted: 23 July 2008 01:56 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  9
Joined  2008-07-22

thanks for the direction, got it working smile

Profile