Re: Date validation in a form / Javascriupt generation at the client side

2009-09-25 Thread Pedro Santos
I would like to know How I can validate the string date inputted by a user in a textfield of my form ? you can use: org.apache.wicket.datetime.markup.html.form.DateTextField ex: DateTextField date = DateTextField.forDatePattern("date", "dd/MM/"); This component will validate the inputs against

Date validation in a form / Javascriupt generation at the client side

2009-09-25 Thread Charles Moulliard
I would like to know How I can validate the string date inputted by a user in a textfield of my form ? e.g : The SimpleDateformat to be used to create a java Date is : dd/MM/ So I would like to check that the user has well introduced its date using this format in the html field. Is it possibl