Choice Field - can you have multiple columns
Hi
This is a O365 set up.
With the Choice fields I have one i'm setting up at the moment that has a lot of choices (40 ish Multiple options)
Is it possible to make the choice field multiple columns - just two would be great so that the form isn't so long.
(PS I can't split the choices unfortunately)
Thanks
This is a O365 set up.
With the Choice fields I have one i'm setting up at the moment that has a lot of choices (40 ish Multiple options)
Is it possible to make the choice field multiple columns - just two would be great so that the form isn't so long.
(PS I can't split the choices unfortunately)
Thanks
I'm using this:
Is there any way of blanking the "Undefined" option? my list will grow and shrink in timefd.field('Samples_x0020_Required').control()._el().html(content);
var options = fd.field('Samples_x0020_Required').control()._el().find('td');
var content = '<table>';
for (var i = 0; i < 27; i++) {
content += '<tr>';
for (var j = 0; j < 3; j++) {
if (options.length > i + 3 * j) {
content += '<td>' + options.eq(i + 27 * j).html() + '</td>';
} else {
content += '<td></td>';
}
}
content += '</tr>'
}
content += '</table>';
fd.field('Samples_x0020_Required').control()._el().html(content);
Hello Roo,
Please try ou this code from the thread:
You can change the number of rows and columns.
Please try ou this code from the thread:
Code: Select all
var options = fd.field('Option').control()._el().find('td');
var content = '<table>';
for (var i = 0; i < 5; i++) { //Rows
content += '<tr>';
for (var j = 0; j < 6; j++) { //Columns
if (options.length > i + 5 * j) { //Rows
content += '<td>' + options.eq(i + 5 * j).html() + '</td>'; //Rows
} else {
content += '<td></td>';
}
}
content += '</tr>'
}
content += '</table>';
fd.field('Option').control()._el().html(content);
-
- Information
-
Who is online
Users browsing this forum: No registered users and 28 guests