Skip to Content
Former Member
Apr 26, 2005 at 01:33 PM

How to check the inpufield ?


<b><i>Hi all</i></b>,

I wrote a JSP using inputField htmlb like this:

<hbj:inputField id="inputDateDebut" type="date" showHelp="TRUE" maxlength="10" size="10"/>

Now I want to check the value and good format of the inputfield submit in the form but don't know how to do that ? When the field is empty and posted I get the value "0000-00-00" ! Is there a good way or document on the validator for inputfiled please ? How do you do usually?

<b><i>Best regards.</i></b>