Make a field required
Posted: 29 Jan 2014
Can we make a field that is not required by the list required if a different field = Yes.
Design SharePoint forms with tabs, complex tables, accordions, sub-lists, and 3rd party columns
https://spform.com/forum/
Code: Select all
fd.onsubmit(function() {
if (fd.field('YesNo').value() && !fd.field('Title').value()) {
alert('Please, fill in Title field.');
return false;
}
return true;
});