Choice field (checkbox) in View Form
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Hello, Siseto!
Try out this code after replacing field name with the Internal field name of your field:
Try out this code after replacing field name with the Internal field name of your field:
Code: Select all
var values = fd.field('Checkboxes').value().split(';');
var html = '';
for (var i = 0; i < values.length; i++){
html += values[i] + '<br>';
}
fd.field('Checkboxes').control()._el().html(html);
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests