[Zope] using capitalize in dtml-var in sqlmethods

Dieter Maurer dieter@handshake.de
Fri, 6 Jun 2003 21:03:17 +0200


Marie Robichon wrote at 2003-6-6 17:00 +0200:
 > ...
 > I would like to capitalize an entry of a form before it goes into my db thus:
 > ...
 >   <dtml-var project_title capitalize>,

Try:

     <dtml-sqlvar expr="project_title.capitalize()" column=project_title type=string>


Dieter