# Supported Fields

When designing an action for the Multi Field Editor or a function button, you can use this statement to specify which fields the action will process. The statement is optional. The Multi Field Editor treats an action which does not have a Supported Fields statement as being valid for all fields.

The advantage of having a Supported Fields statement is that the Multi Field Editor will display an error if trying to run an action and there are no appropriate fields specified. Further, the menus displayed on function buttons to run an action will only display a menu item if it is appropriate for the associated field.

The following field selection modes are available:

Fields in table
  You manually select fields in the field table. Note that the table supports the Process All but the Selected Fields mode.
Plain Text Fields
Credit Fields
Fields Mapped to a Preference List
  See the help for the Enumerate Fields, Roles and Extensions statement's same named function for additional information.

If you execute an Extract Preference Set statement with the Supplied Fields Set function, you will have a list which is guaranteed to contain only fields specified in this statement. ie. the function removes all inappropriate fields.