<input type="text" id="number" /> 
<p>&lt;input type=&quot;submit&quot; value=&quot;³ÐÕJ&quot; class=&quot;button&quot;¡¡id=&quot;doApprovalConfirm&quot; /&gt;</p>
<p>public Validator getDateValidator() {<br>ValidatorChain chain = new ValidatorChain();<br>TRequiredValidator validator = new TRequiredValidator();<br>if (number != 0) { chain.add(validator); }<br>return chain;<br>}</p>

<p>I can&#39;t get the input value of number . Why?<br>I want to dynamic validator the Date accroding to the number.<br>what should i do?</p>