make a section mandatory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2014 03:56 PM
What would be a way to set a field (or fields) mandatory on a section, once the section is visible?
I have a UI Policy to show / hide the section based upon state (working nicely), but when the section is shown, how do I make fields on that section mandatory?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2014 04:13 PM
Hi Corey,
You can define these fields to be mandatory globally (if you always want them to be) based off the Dictionary on these items.
Right click the field you wish to make mandatory and select Personalize Dictionary.
From the dictionary view select the Mandatory checkbox.
Alternatively, for just the section, why don't you set your UI policies so that the fields become mandatory following the same logic that the section should appear?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2014 06:46 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2014 07:47 PM
whichever policy is existing and making the sections visible/hidden, use the same to make fields mandatory

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2014 10:37 PM
I would avoid marking the fields as mandatory on the dictionary record, since this would be a permanent and global setting. The best practice recommendation is to use UI Policies, as mentioned above by Darius Koohmarey, Sean McGuire & Kalaiarasan P.
Using the existing UI Policy would be optimal, since the conditions that trigger the section are also required to make these fields mandatory. However, if additional conditions apply to the fields being marked mandatory or not, additional UI Policies would be required.
Client scripts can also be used, however UI Policies are the best practice recommendation provided the conditions can be triggered using them.
Regards,
Jake