[Zope] Capitalizing variables from form input?

Martijn Pieters mj@antraciet.nl
Wed, 23 Jun 1999 16:00:38 +0200


At 15:43 23/06/99 , Phil Grove wrote:
>Does anybody know how to capitalize the input from a text box?
>
>I know you can use:
>
><!--#var inputName fmt=capitalize-->
>
>but i wanna actually use the inputName in a redirect command and hence the
>capitalized input field need to be put into a variable,

Try: _.string.capitalize('string')

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------