Hi

I'm having 2 problems :

I've a problem translating a custom error message in the :

 IS_INT_IN_RANGE(v1, v2, error_message=T("enter a value between %(min)
s and %(max)s",dict(min=str(v1), max=str(v2+1))))

it also fails to do :

error = T("enter a value between %(min)s and %(max)s",dict(min=str
(v1), max=str(v2+1)))
IS_INT_IN_RANGE(v1, v2, error_message=error)


my second problem is:
----------------------------

suppose am having 2 fields in  a form and one of them is dependent on
the other's value

so suppose I want to add a validator on the second field that makes
checks that the value entered on the first field in a correct range
How can I do this ?


-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to