Hi all,
When I try to submit a form via a xhrPost, Dojo submits values greater than 999 from the dijit.form.NumberTextBox with commas (e.g. "1,000" will be submitted). Is there a way to have Dojo submit these values as numbers other than specifying constraints="{pattern:'###'}" on all my NumberTextBoxes (b.c I have a lot of them)?
Thanks,
Julian

that sounds like a bug
NumberTextBox is not supposed to submit formatted numbers with comma separators. The value submitted should be a valid string representation of a JavaScript Number. "pattern" only affects the on-screen display.
If your form is submitting numbers in the form #,### please file a bug on trac, with a test case.
Thanks.
I am sorry, but it appears
I am sorry, but it appears the code that I wrote which passes the value to the a rawXhrPost, used the DOM object rather than the widget to retrieve the value. In other words, this was user error, and Dojo is properly retrieving the values.
Thanks again, and sorry for the inconvenience.