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

Formula for conditionally requiring attachment in list Validation Settings

$
0
0

Column "A" is a yes/no checkbox field. If it is checked/yes, I want to make it required for the user to attach at least one file to the item.

I'm trying to write a formula to place in the list's validation settings but I dont know what name to use for the attachments field (it may even be a field in a SP sense)

=IF([A]=TRUE,IF([**Attachment field name goes here**]<>"",TRUE,FALSE),TRUE)

The above formula should work if I have a valid name for the attachments field. How do I get around this?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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