You can either use an onvalidation function or do something like:
Field('end1', requires=IS_NOT_EMPTY() if request.post_vars.start1 else
None)
Anthony
On Monday, December 1, 2014 8:27:30 AM UTC-5, Yebach wrote:
Hello
I have a SQLFORM.grid and I have to raise error for user if he
Thanx. Nice solution
On Monday, December 1, 2014 2:46:24 PM UTC+1, Anthony wrote:
You can either use an onvalidation function or do something like:
Field('end1', requires=IS_NOT_EMPTY() if request.post_vars.start1 else
None)
Anthony
On Monday, December 1, 2014 8:27:30 AM UTC-5,
2 matches
Mail list logo