hi i am developing a system in which i require a validation on name field...validation shoould be : the field should not accept numbers ...it should only accept alphabets...i know this is possible using IS_MATCH in web2py...i tried using db.organisations.name.requires=[IS_MATCH('^[a-z]', error_message='This is not a valid name')] but it is not working please help me out.....
- [web2py] how to restrict a field to be alphabet only Saurabh S
- [web2py] how to restrict a field to be alphabet only Saurabh S
- Re: [web2py] how to restrict a field to be alphabe... Johann Spies
- Re: [web2py] how to restrict a field to be alp... Anthony
- Re: [web2py] how to restrict a field to be... Johann Spies
- Re: [web2py] how to restrict a field ... Anthony
- Re: [web2py] how to restrict a fi... Vinicius Assef
- [web2py] Re: how to restrict ... Saurabh S
- [web2py] Re: how to restrict a field to be alphabe... Anthony