| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Complete Alpha Listing >====== #FIELD (control prompts) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[ extension define an extension template .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ find super fix multi value symbols .htm|{{btn_next_n.gif|Next page}}]] | | || **#FIELD**, **WHERE(** //expression// **)** //prompts// **#ENDFIELD** {{blk2blue.jpg|blk2blue.jpg}} | **#FIELD** | Begins a control prompts section. | | **WHERE** | Specifies the #FIELD is used only for those instances where the //expression// is true. | | //expression// | An expression that specifies the condition for use. | | //prompts// | Prompt (#PROMPT, #BUTTON, etc.) statements. | | **#ENDFIELD** | Terminates the section. | The **#FIELD** structure contains //prompts// for controls that are populated onto a window. These //prompts// appear in the Actions... dialog. The list of field prompts appearing in the Actions... dialog is built in the following manner: 1.#CONTROL prompts. 2.#PROCEDURE-level #FIELD prompts (also from inserted #GROUPs). 3.#PROCEDURE-level #FIELD prompts from active #EXTENSION sections. 4.#CONTROL-level #FIELD prompts. 5.#CODE-level #FIELD prompts. The values the user inputs into the #FIELD prompts are used to generate the source to govern the behavior of the control. **Example:** **#FIELD****, WHERE(%ControlType = 'BUTTON')** **  #PROMPT('Enter procedure call',PROCEDURE),%ButtonProc** **#ENDFIELD** **See Also:     **[[ prompt entry types.htm|#PROMPT]] [[ validate validate prompt input .htm|#VALIDATE]] [[ enable enable disable prompts .htm|#ENABLE]] [[ display display only prompt .htm|#DISPLAY]] [[ button call another page of prompts .htm|#BUTTON]]