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

Ashutosh Munot1
Kilo Patron
Kilo Patron

Any Screen shot will help us.



Thank you,




Ashutosh


Jaspal Singh
Mega Patron
Mega Patron

Hi Sam,



Possibly use of many containers may be the cause.


samadam
Kilo Sage

This is a form where I have multiple options and based on a variable value have a variable set where each has a container set up. Could they be interfering since each variable set is ties to a different option.


HI Sam,



Yes you are right. Extra spaces may occur due to number of container in Variable set.



Thank you,


Ashutosh