public MyForm(final String id) {
{
 PasswordTextField pwd = new PasswordTextField("verifyPassword");
 pwd.setLabel(new Model("Verify Password"));
 add(pwd);
}



insom wrote:
I have the following simple form:

public MyForm(final String id) {
{
  add(new PasswordTextField("verifyPassword"));
}

If the user leaves the verifyPassword field blank when they submit the form,
it displays the message:

* Field 'verifyPassword' is required.

How can I make the error message say 'Verify Password' instead of
'verifyPassword'?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to