Assign calculated field output to checkbox label.
-
Hello,
Maybe you can add this FAQ – Tip and Tricks | How to assign a value to a field that is not a calculated field from an equation?
Checkboxes’s fields have multiple labels so if you don’t choose first element (main one) it overwrite all checkboxes’s titles.
So you can use this code to assign a value to checkbox label that is not a calculated field from an equation or assign calculated field output to checkbox label.
jQuery('.mycalss > label:first-child').html(Y);
Complete code if you have a calculated value from an equation and want to assign it to checkbox label.
(function(){ var Y = fieldnameX; jQuery('.myclass > label:first-child').html(Y); return Y; })()
Sincerely,
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Assign calculated field output to checkbox label.’ is closed to new replies.