Hello again. When I do form=SQLFORM(db.table) form.accepts(request.post_vars)
it displays 'too small or too large' for the 'integer' and 'double' required fields. There are two problems with it: 1) these strings are not translateable by default 2) It is not exactly the proper message to display. Since that is a required field the more appropriate message would be 'This is a required field' I suggest allowing db.table.field.required to be of string type. Since not-empty string is a true value - old code will continue working properly and we can specify a error string there if it doesn pass validation. Internally if user supplied a 'True' value to required= - replace it with 'This field is required' and proceed as described above. -- Regards Alexey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

