SharePoint List column validation related to another item
-
08-02-2021 - |
Pregunta
I have a SP list with 3 fields:
- "report type" (choose list "A", "B" or "AB")
- "Type A due date"
"Type B due date".
I want to set-up column validation for the due date so that "Type A due date" is required only when "A" or "AB" was chosen in the "report type" field. any idea?
Bonus question just coming to me (but I assume I could do it if I find solution to question 1): How to have an alert is a due date is selected while the related report type was not checked?
Many thanks in advance for your help!
Solución
You can achieve this using list Validation settings. use below formula:
=IF(OR([report type]="A",[report type]="AB"),IF(ISBLANK([Type A due date]),FALSE,TRUE),TRUE)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a sharepoint.stackexchange