Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Trying to set up Site Validation based on a Choice and Date fields

$
0
0

I have the situation in a form where I pose the question "Is this a contractual requirement" and give a Choice field to chose Yes or No. If they answer Yes I need it to be required that they enter a date in the Date field "Due Date". In my internet searching I found where this is best accomplished via Site Validation and a variation of the code {=IF([Field1]="Yes",IF([Field2]<>"",TRUE,FALSE),TRUE)} was given as an example.

Since this didn't deal with dates it wasn't exactly like what I needed but further research led me to adopt it to this {=IF([Choice Field]="Yes",IF(ISBLANK[Date Field],TRUE,FALSE),TRUE)}. This code does not work I get an error advising me there is a Syntax issue and as I am new to coding in SharePoint I can't figure out where to start troubleshooting it. 

Any assistance would be greatly appreciated. 


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>