<input type="text" id="number" />
<p><input type="submit" value="³ÐÕJ" class="button"¡¡id="doApprovalConfirm" /></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'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>