Validation Checks in Tables

This sample runs validation checks for values inside tables, when saving the record.
In this particular sample, the radio buttons determine the validation for the number fields.

Sample Image


Sample Code


Make sure to match the Field code of your fields, with the Field code written in the code.
Note that tables themselves also have Field codes.


Refer to the Tutorial page, on how to add scripts to your app.

Was this article helpful?
1 out of 1 found this helpful
  • Avatar

    Let me make sure I understand:
    The for loop iterates over row "i" in "table" (where "table" is an array of objects). Since we're doing a "" loop over an array, we include the "if (!table.hasOwnProperty(i)) { continue; }" line to skip any of the array's inherited properties from up the prototype chain?

Please sign in to leave a comment.