Extra space in Catalog item form

samadam
Kilo Sage

There is extra space showing up after all the variables on the catalog form. I tried to wrap all the variables in a container but did not help. Any ideas?

1 ACCEPTED SOLUTION

Cheyenne1
Kilo Guru

That may be why. Try switching your g_form.setVisible to g_form.setDisplay



Set Visible:


Hides the field if false.


If the field is hidden, the space is left blank. This method cannot hide mandatory fields with no value.



Set Display
Displays the field if true. Hides the field if false. This method cannot hide mandatory fields with no value.
If the field is hidden, the space is used to display other items.


View solution in original post

13 REPLIES 13

Thanks Cheyennes! Little but very helpful and precise answer by you.
Keep it up!

samadam
Kilo Sage

Worked perfect, Thanks a lot.


Cheyenne1
Kilo Guru

Awesome No problem!


Aparna Macharl1
Mega Contributor

for client scripts making setdisplay false is not working as expected in RITM fullfiller view.

is there any other solution apart from setdisplay false?