I've struggled with this for awhile, thought I'd see what you guys think. On most grid panels, you have fields to submit values to server to select what shows in grid. I've coded fields with some validation, min/max for number, max length for char fields, etc. The field turns red to show it is invalid but user can still trigger submission to server, where you get data decimal errors or something that kills CGI job.
On a normal form panel submission, I'll code whether form isValid before submitting to server. Is there an equivalent method for grid panel I can put in beforeLoad function or do I have to test each field individually for validity before allowing submit?
On a normal form panel submission, I'll code whether form isValid before submitting to server. Is there an equivalent method for grid panel I can put in beforeLoad function or do I have to test each field individually for validity before allowing submit?
Comment