On 5/1/05, 叶卫国 <[EMAIL PROTECTED]> wrote: > Say that my form has a field for fax, it's not required, but when user input > something, it must be a valid fax number. > > what can i do? > Basically you've two options: client-side and server-side validation. Wicket offers a solution for both. For client-side validation please see my previous mail. For server side valdation please see the forminput example.
Juergen
