You can leave it empty and use onvalidation function:
http://web2py.com/book/default/chapter/07#onvalidation
On Sun, Jun 12, 2011 at 9:54 AM, Neveen Adel wrote:
> Hello,
>
> I have a field in database that can accepts float numbers or time.
>
> so i need to have OR-ing between the following ex
Hello,
I have a field in database that can accepts float numbers or time.
so i need to have OR-ing between the following expression:
db.WO.cost_time.requires = [IS_MATCH(r'^\d*\.{0,1}\d+$') or
IS_TIME()]
How can i do this?
Thanks in Advance
2 matches
Mail list logo