JS that utilizes the “Group ID” functionality? › Forums › Dynamic Forms for SharePoint › JS that utilizes the “Group ID” functionality? This topic has 2 replies, 2 voices, and was last updated 7 months, 1 week ago by Jon Whisman. Viewing 2 reply threads Author Posts June 17, 2022 at 17:20 #35884 Jon WhismanParticipant We have forms that use pure JS – no rules in dffs back-end. I would like to leverage the Group ID functionality to bulk control groups of fields / headers, etc. in the form (hide this group, show that group, read only this group, etc.) Is there SPJS syntax to utilize the group IDs? EG: //un-hide fields spjs.dffs.unhideFieldsByRule([ TabGroup_xxx ]); June 17, 2022 at 19:40 #35886 Alexander BautzKeymaster The fields in the tabgroup can be found as an array in this object: spjs.dffs.data.dffsDataObj.data.groupToFin This means you can loop over the fields in a group like this: jQuery.each(spjs.dffs.data.dffsDataObj.data.groupToFin.YOUR_GROUP_NAME, function(i, fin){ // do something with fin here }); Alexander June 22, 2022 at 17:42 #35892 Jon WhismanParticipant AWESOME! THANK YOU, Alexander! 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