Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

two text box

how to make the unselected text box to be in another color and selected test box in another color

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Text boxes can't be selected. You can assign an action to a text box that executes when you click on it. You can use a Set Variable action to change the value of a variable (create the variable first of course). You could for example set the value of the variable to a color. You can then use the variable in an expression used to calculated the background color of the text box. See attached example.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

Text boxes can't be selected. You can assign an action to a text box that executes when you click on it. You can use a Set Variable action to change the value of a variable (create the variable first of course). You could for example set the value of the variable to a color. You can then use the variable in an expression used to calculated the background color of the text box. See attached example.


talk is cheap, supply exceeds demand
manoranjan_d
Specialist
Specialist
Author

see i have given action in two text box so if the user click the first text box chart will appear, so the clicked the text box has to be in some other

the unselected text box have to be in different in color, so that they can easily understand which one they selected by color difference between the text

mayankraoka
Specialist
Specialist

Hi Manoranjan,

You can use below condition on text box background calculated area:

=if(vShowchart = 0, RGB(239,239,239),RGB (0,98,153))

Define the variable vShowchart = 0

Regards,

Mayank