Kinda have two questions here: 1: Adding a validation error to a field: I have some fields that are required before continuing to the next step of the wizard. Is there any way to leverage the built in field errors? 2: I’m currently using the page “Problems” but not very effectively:
helpers.error = (function(skuid){ return{ add: function(message){ var myProblem = {isDisplayed:false,message:message}; skuid.page.displayProblem(myProblem); skuid.page.problemsIndicator.text('Problems'); skuid.page.problemsWrapper.show(); }, clear: function(){ skuid.page.problemsContainer.empty(); skuid.page.problemsIndicator.text(''); skuid.page.problemsWrapper.hide(); } }; })(skuid); helpers.error.add('Huston, We have a problem');
Results in something like this: This works, but I’m wondering if you guys have a better way of managing these. Or are the problems meant specifically for SKUID page errors and no so much for user interaction?