AnsweredAssumed Answered

Validation Text Box

Question asked by jms143 on Apr 2, 2011
Latest reply on Apr 7, 2011 by jms143
Hi,

I have implemented the validation text box for the editing Widget using the JavaScript API, but it does not prevent invalid entries from submission into the database. The input text box on the attribute inspector will have a warning showing the attribute is not valid, but if the user submits the change, it still goes through.

I believe I need to use dijit.form.form widget to ensure invalid attributes are not submitted, but I am not quite sure how to implement this.

Any examples out there?

Thanks.

Outcomes