Question

I have a SP list with 3 fields:

  • "report type" (choose list "A", "B" or "AB")
  • "Type A due date"
  • "Type B due date".

    1. 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?

    2. 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!

Was it helpful?

Solution

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)

Calculated Field Formulas.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top