I'm having troubles with the NumberTextBox max constraint. If I use standard markup declaration and create the numbertextbox with default setting, e.g.
<input id="q05" type="text" dojoType="dijit.form.NumberTextBox" constraints="{places:0}" required="true" >
this control is constrained to be max of 16digits. And that's the issue. What if I need the user to be able to enter a 16+ digit number? I seem to be unable to overwrite this with the constraints:"{max:99999999999999999999}" (it's 20 of them) nor with the maxLength:"20" attributes.
Any ideas on how to properly set the control to be constrained let's say up to 20 digits, instead of 16 (which appears to be a limit now)?
Thank you
-------------Problems Reply------------
Use ValidationTextBox
and use propert regExp
to narrow possible input.