General attributes

On most elements (this includes group, field, and button), you can set the attrs and groups attributes. While attrs is discussed in the Dynamic form elements using attrs recipe, the groups attribute gives you the possibility to show some elements only to members of certain groups. Simply put, the group's full XML ID (separated by commas for multiple groups) is the attribute, and the element will be hidden for everyone who is not a member of at least one of the groups mentioned.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset