checkbox with singleline text beside

fei2
Giga Contributor

On catalog, how can I create a checkbox with single line text beside?  

Mean like - checked - "Others, please specify", ___________

1 ACCEPTED SOLUTION

See below screenshot. Is this sort of result you are expecting ?



find_real_file.png





If yes, you can configure somthing like below



find_real_file.png


While creating container start, make sure to set type specification as '2 columns wide, alternating sides' and make the Question blank for text field variable.



Then simply create a UI policy to adjust visibility of the text field in accordance with CheckBox.



Let me know if you have any questions



Regards,


Vishal


View solution in original post

6 REPLIES 6

vishal065
Tera Expert

Hi fei,



Not sure if I got the question correctly, but you may try following if you are looking to create a checkbox and a text filed dependent on that.


You can create a variable of type CheckBox. Use a container to populate the text field next to the checkbox and create a Catlog UI policy to make the text field visible if the chekbox is true.



Regards,


Vishal


fei2
Giga Contributor

I did use container start and end which include single text box. But unfortunately the text box still showing at below and on another box. Furthermore, it is showing the "Question" for singleline text too. I just need a textbox, and how can I "remove" the "question"?


See below screenshot. Is this sort of result you are expecting ?



find_real_file.png





If yes, you can configure somthing like below



find_real_file.png


While creating container start, make sure to set type specification as '2 columns wide, alternating sides' and make the Question blank for text field variable.



Then simply create a UI policy to adjust visibility of the text field in accordance with CheckBox.



Let me know if you have any questions



Regards,


Vishal


fei2
Giga Contributor

Thanks.


Yes. I figure it out by using Container splitter now.