Re: [web2py] Vaildating hexadecimal field

2012-07-11 Thread Jonathan Lundell
On 10 Jul 2012, at 11:21 PM, Annet wrote: > I have a table in which users enter hexadecimal values to set colors and > background-colors. I'd like to validate the values the user enter, > requires=IS_HEX() would be ideal, but there is no such validator. I wonder > whether any one has done hexade

[web2py] Vaildating hexadecimal field

2012-07-10 Thread Annet
I have a table in which users enter hexadecimal values to set colors and background-colors. I'd like to validate the values the user enter, requires=IS_HEX() would be ideal, but there is no such validator. I wonder whether any one has done hexadecimal validation and could provide me with a vali