function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lewislewis 

Validation rule or Trigger ??

i have a multipicklist field with around 30 values that users can select . Can anyone help with a validation rule, that allows a user to select a maximum of 10 values . ?

 

Additionally if the user selects the value all , they get a prompt that asks them to confirm they want to select all . this then saves the record when save is clicked again .

Starz26Starz26

You cannot override the save button unfortunatly.

 

You would have to do all of this via visualforce....