I have a SharePoint 2013 Custom list. I want to do custom validation WITHOUT making the SharePoint list columns required.
Simply put, when a user selects a certain option from a dropdown, the next few fields need to become required.
I am trying to disable the SAVE button IF [choice] column = [specific value] AND [column 1] = blank AND [column 2] = blank AND [column 3] = blank AND [column 4] = blank
Any ideas?? Here is the code I am fooling around with:
//Disable Save Button based on Blanks
$("select[title='Website']").change(function() {
if ($("select[title='Website']").val() == "")) {
$("input[value$='Save']").attr('disabled', true);
} else {
$("input[value$='Save']").attr('disabled', false);
}