| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Complete Alpha Listing >====== #WITH (associate prompts with a symbol instance){{c6h0068.jpg|C6H0068.jpg}} ====== | [[ windows default window structures .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[tlr08open.htm|{{btn_next_n.gif|Next page}}]] | | || **#WITH(** //symbol// , //value// **)** //prompts// **#ENDWITH** {{blk2blue.jpg|blk2blue.jpg}} | **#WITH** | Allows a set of prompts to be associated with a single instance of a //symbol// (as specified by the //value //expression). | | //symbol// | A previously declared unique multi-valued template symbol. | | //value// | A string expression containing a unique value to add to the //symbol//. | | //prompts// | One or more #PROMPT statements whose values become dependent on the value of the //symbol//. This may also contain #DISPLAY, #VALIDATE, #ENABLE, and #BUTTON statements. | | **#ENDWITH** | Terminates the group of //prompts// associated with the #WITH //symbol//. | The **#WITH** statement adds a new instance to the //symbol// (as specified by the //value //expression) and makes the values of all the //prompts// dependent upon that instance. #WITH allows the same set of prompts, with the same prompt symbols, to be used more than once on the same screen. **Example:** **#WITH****(%ClassItem,'Default')** ** #INSERT(%ClassPrompts)** **#ENDWITH** **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]]