You can use the IS_LENGTH validator:

requires = IS_LENGTH(1, 0) # The max length is the first argument, don't 
ask why

-- 



Reply via email to