How to add more than 2 variables in a catalog item form?

johannes5
Giga Expert

Hi ServiceNow Community Developers,

Do you know if there is a way to put 3 variables per row in a catalog item form? For instance when you define variables to add to a form you can have a container start where you specify "2 columns wide" on the layout if you want to see 2 variables side by side per row in a catalog item form. What I would like to know is whether there is a way one can put 3 variables per row so that all 3 variables appear side by side in one row in a service catalog item form. Kindly advise.

Thanks,

Johannes

1 ACCEPTED SOLUTION

vamin
Giga Contributor

Yes you can.  Think of containers as your HTML <table> tags.  Containers can contain other containers.  Each container is a two column table using the container split.  Just add a container within the split and you will have multiple columns:

For example:

[Start] [Start] [Split] [End] [Split]  [Start] [Split] [End] [End]

The container above will give you One Row with 4 Four Columns.

View solution in original post

5 REPLIES 5

Chris Sanford1
Kilo Guru

Container within a container, with splits in between. See the example in this link: https://hi.service-now.com/kb_view.do?sysparm_article=KB0539982. Unfortunately I don't think you can get 3 columns to be equal widths. The result will be 50%, 25%, 25% widths. Also, it won't work if you're using the portal.