Count number of selections in a choice field Home › Forums › Classic DFFS › Count number of selections in a choice field This topic has 2 replies, 2 voices, and was last updated 7 years, 6 months ago by Bryan Waldrop. Viewing 2 reply threads Author Posts May 3, 2017 at 19:32 #16474 Bryan WaldropParticipant Count number of selections, reveal next after at least 2 selections are made Hi Alex, I need a custom js function to count the number of selection made in a sharepoint choice column/field. Ultimately, I want use a rule that waits to reveal the next form field until after 2 selections are made in this choice field. Thanks! This topic was modified 7 years, 6 months ago by Bryan Waldrop. May 9, 2017 at 20:36 #16512 Alexander BautzKeymaster Hi, Sorry for the delay – use this line of code: $("#dffs_YourColumnName input:checkbox:checked").length Change YourColumnName for your fieldinternalname. You should be able to set up a trigger with “Custom JavaScript function” as trigger, and use the above line in a custom function – returning true or false if the selection length is OK or Not OK. Alexander May 12, 2017 at 21:46 #16560 Bryan WaldropParticipant Works brilliantly thank you! Author Posts Viewing 2 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In