You are viewing limited content. For full access, please sign in.

Question

Question

Mix and match label positions within a Collection

asked on February 28, 2018

I have a form where the default setting for labels = the left side.

Tables cannot be used inside of a Collection. Therefore I am using a Collection where 16 fields will sit over 4 rows. See image example of how I would like the data to be displayed. I am having trouble setting Labels 1-8 to be on top.

I have attempted adding a class 'top' to the Fields 1-8  and added this javascript.

$(document).ready(function () {
  $('.top').removeClass('label-left');
});

However this will only work on fields 'outside' of the Collection not within a Collection. Any ideas to handle this scenario?

 

cheers

 

Capture.JPG
Capture.JPG (30.53 KB)
0 0

Replies

replied on March 6, 2018

Hi Grant,

The difference between field outside collection and inside collection is that, the collection has class 'label-left' as well. You can remove that one to make label show on top of fields.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.