[ZPT] formating validation results
celtek at wp.pl .
celtek at wp.pl
Thu Aug 25 16:45:55 EDT 2005
Hi,
I have a script responsible for validation and when an error occurs it will be return :
#return RESPONSE.redirect('show_zpt?formErrors=%s&value2=%s' %(error, value2))
then in 'show_zpt' it will be use :
<!--
<div tal:condition="request/formErrors|nothing" class="portalMessage" tal:content="request/formErrors"></div>
-->
and message:
{'surname': 'Input is required but no input given.'}
but I don't want to have this message format, it would be better to have something like this:
surname: Input is required but no input given. - without this additional marks!
What I should change to have this message format?
Thanks and regards!
----------------------------------------------------
26 sierpnia w Stoczni Gdańskiej koncert J.M.Jarre'a - "To będzie mój
najlepszy koncert - koncert wolności" - zapowiedział artysta.
http://klik.wp.pl/?adr=www.muzyka.wp.pl%2Fjarre&sid=468
More information about the ZPT
mailing list