Capitalizing variables from form input?
Hello all, New question for the day: 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, Any ideas? Cheers, P. --------------------------------------------------------------------- Phil Grove phil.grove@flg21.com Web Development 0113 2949494 flg21 http://www.flg21.com ---------------------------------------------------------------------
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 ------------------------------------------
participants (2)
-
Martijn Pieters -
Phil Grove