What is a field set?
A field set is a grouping of fields. For example, you could have a field set that contains fields describing a user’s first name, middle name, last name, and business title. When a field set is added to a Visualforce page, developers can loop over its fields and render them.
How do you create a field set?
How to create fieldset: The first step for this would be to create the Fieldset. For example, to create field set for Account object, Go to Setup > Customize > Accounts > Field Set. You can now drag and drop all fields you want in this fieldset.
How to add fieldset to Visualforce page code?
Go to Setup > Customize > Accounts > Field Set Click on new. Enter all mandatory fields. Also drag and drop all required fields in fieldset. Now we will create visualforce code which will use fieldset. We can add, remove, or reorder fields in a fieldset to modify the fields presented on the Visualforce page without modifying visualforce page code.
What are some examples of field sets in Visualforce?
For example, you could have a field set that contains fields describing a user’s first name, middle name, last name, and business title. If the page is added to a managed package, administrators can add, remove, or reorder fields in a field set to modify the fields presented on the Visualforce page without modifying any code.
How to display field values in Visualforce apex?
For example, to use the standard controller for accounts, add the standardController attribute to the tag, and assign it the name of the account object: Hello {!$User.FirstName}!
Where do I find global variables in Visualforce?
All global variables are referenced with a $ symbol. For a list of global variables that you can use in Visualforce, see Global Variables. To access fields from a record that is not globally available, like a specific account, contact, or custom object record, you need to associate your page with a controller .
https://www.youtube.com/watch?v=jaMT398XK2g