How can i change the error template that comes out when i try to send a form without filling the required fields?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 17, 2010 10:57am
Subscribe [6]#1 / Sep 17, 2010 10:57am
How can i change the error template that comes out when i try to send a form without filling the required fields?
#2 / Sep 18, 2010 3:23pm
Hi rildim,
The user message template is at CP Home > Admin > Specialty Templates > User Message Template. You can edit this as you wish but this is lightweight template and it’s not possible to use template tags like the weblog:entries tag.
Cheers
Greg
#3 / Sep 18, 2010 4:40pm
If you take a look at http://www.madebyhippo.com/herdspeak/ - I did a post about using jQuery for form processing.
Not quite what you were after, but it might be an alternative solution?
Regards
Carl
#4 / Sep 19, 2010 6:20pm
Thanks Carl. Did that and Greg’s advice help, rildrim?
#5 / Sep 20, 2010 9:11am
I was thinking of duplicating the same template of the form with the addition of the error message but the jquery option might be more elegant. Thank you guys.
#6 / Sep 20, 2010 11:28am
Is it possible to change the variables of the template?
#7 / Sep 20, 2010 8:31pm
Hi rildrim,
Do you mean use different variables than what are in the template by default? As Greg said they are lightweight templates and are restricted to a small subset of variables, so that is not possible.
#8 / Sep 21, 2010 1:07pm
I mean editing the text the variables display
#9 / Sep 22, 2010 3:18am
rildrim,
Have a look under the Translation Utility which allows you to change the default text used throughout the control panel of EE. To begin with look for lang.messages.php
CP Home › Admin › Utilities › Translation Utility
Does that help?
#10 / Sep 22, 2010 9:03am
Yes! thanks, thats exactly what i need for its for a website in spanish
#11 / Sep 22, 2010 9:45am
Sounds like you’re all set. Don’t hesitate to post again as needed.