I have a muli select Check box on my form but I only have one choice this gives me the appearance of a check box on the form. I understand that you can't have Enhanced Text in PDF so I have to use the display form however when I do so I loose the check boxes and the checks as well as the boxes around the controls .
I would like those to stay how can I do that on a PDF Export.
Using Control P I loose the full form because the form is long and it scrolls. I can't use the Word Template option as this needs to be on demand.
Dear @jktodd007,
Sorry for the delay, we've had to test this out before we could publish an answer - and interestingly enough, it wasn't the easiest task, but now we can give a satisfying answer.
In order to present Multichoice field as Checkboxes on the display form, first, add Multiple Choice Common field (not SP field) to the Display Form, and copy selection options from SharePoint:
This will hide the SharePoint field, and populate Checkboxes field with its values (also disabling it from further changes). But this won't be enough - as there will be some issues when exporting to PDF.
To further adjust the presentation, add the following CSS code to CSS editor:
Hi @Nikita_Kurguzov
I am trying to use the same code but unable to get the values in multiple choice common field from SP field. SP field is multi select field. Hope you can help.
fd.field('MultiChoice1').value = fd.field('Request_x0020_Originator').value.split('; ');
fd.field('MultiChoice1').disabled = true;
spform.js:45 TypeError: fd.field(...).value.split is not a function
at eval (eval at e._executeCustomJavaScript (spform.js:116:105460), :9:73)
at spform.js:45:23858
at Array.map ()
at e.safeRun (spform.js:45:23836)
at t. (spform.js:126:34357)
at spform.js:126:25640
at Object.next (spform.js:126:25745)
at a (spform.js:126:24485)