Thanks for the reply Lucas. I am aware of the validators, however, my concern is more with presentation and collection of the data. I understand that I could play with the existing widgets, but I am wondering if someone has already encountered this use case, and if so, is there an existing widget that will allow me to avoid re-inventing the wheel.
Thanks! On Feb 1, 12:12 pm, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote: > On Feb 1, 2008 1:01 PM, GSP <[EMAIL PROTECTED]> wrote: > > > Hi folks, > > > Is anyone aware of an existing widget which would be used display/ > > input for field data that is typically delimited by whitespace or > > dashes(e.g. credit card #, phone #?) In other words, a widget that > > could be used to accommodate a 16 digit credit card number in 4 > > distinct fields and also provide the functionality for concatenating > > the field data as a distinct unit of data upon form submission. Just > > thought I would check before I roll my own > > http://lucasmanual.com/mywiki/TurboGears#head-c7d53e23907c7b237d41124... > > under validators options > CreditCardValidator > PostalCode' > PhoneNumber > > So you can use validators to validate your input. As far as the > widgets you will have to play with widgets that are available. > TextField etc. > > Lucas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

