Jun 2, 2021
Posted by Patrick Burma

The optional/required field checks is performed when there is a submit button or some similar action taken that collects all the widget values.

Probably the best thing to do is use the createResponseObject() which can be added to an on click in a button.


You could use jQuery or something to draw some redboxes around the required fields with your own data validator like:

$(‘#divid’).css(‘border’, ‘3px solid red’);
} else {
//do the submit actions

© Vantiq 2024 All rights reserved  •  Vantiq Corporation’s Privacy Policy and Cookie Policy