You could edit the webpy source file: form.py
changing
notnull = Validator("Required", bool)
to
notnull = Validator("Verplicht", bool)
-Erik
On Wed, Aug 3, 2011 at 12:21 AM, digistam <[email protected]> wrote:
> Thanks for your help. Unfortunately, form.notnull =
> form.Validator("Verplicht", bool) leads to an error:
>
> SyntaxError: keyword can't be an expression
>
> any idea ?
>
> Mark
>
> On Aug 3, 8:07 am, Aydın ŞEN <[email protected]> wrote:
> > try this:
> >
> > form.notnull = form.Validator("Verplicht", bool)
> >
> > 2011/8/2 digistam <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > I use form validation and I see the phrase "Required" next to an empty
> > > form field when it is supposed to be filled with some value. As I am
> > > developing a web.py tool in the Dutch language, I really like to have
> > > the Dutch word for "Required" (which is "Verplicht"). Is it possible
> > > to alter the validation texts ?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "web.py" 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/webpy?hl=en.
> >
> > --
> > Aydın Şen
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" 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/webpy?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en.