how to make selectone mandatory in editable table
Content
Hi Experts,
I have a editable table that has a select one choice in one of the columns. Would like to make this field as mandatory. I see other inputs text in the table are becoming mandatory when I use required property yes but selectone not.
I'm calling the below JS code on TableBeforeRowEditEndChain event. Attaching the same code.
PageModule.prototype.isFormValid = function(form) {
var tracker = document.getElementById(form);
if (tracker.valid === "valid") {
return true;
} else {
tracker.showMessages();
tracker.focusOn("@firstInvalidShown"
return false;
}
}
Regards
Ankur
Tagged:
0