I have a calculation field that evaluates text strings from a related field. Some of these strings contain variables that can be entered into a field eg. var1. Most alternatives for var1 are either blank (no variable) or continuous variables requiring the user to enter a number (eg. 20, 13.4, 16.9 etc.). However, a minority need to be 0 or 1 for which a single checkbox would be safer to prevent user confusion.
Paired to the variable entry field is a 'label field', eg. var1_name. Is there a way of using the var1_name field to 'calculate' the field control style of the var1 field? ie. can I have different control style dependent on var1_name?