You can use the python string function myString.capitalize()
http://www.python.org/doc/2.5.2/lib/string-methods.html I hope this is what you are after On Dec 1, 11:14 am, Marco Prosperi <[EMAIL PROTECTED]> wrote: > hello everybody, my web2py application will interchange data with an > ERP system. On this system all the fields of type string contain only > capital letters. It would be nice for me if the values of type string > inserted in a web2py form could be directly converted in capital > letters. How to manage this cleanly? > > thanks in advance, > > Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

