Solved! Go to Solution.
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.
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.