I need to be able to add chewckboxes with a label after it. So like:
|CHECKBOX| I am a sausage
This kind of works ok when using html and embedding it.
$html = '<input type="checkbox"/> <span style="font-size: 12px">' . $label . '</span>';
But then I get the legacy form component checkbox. I want to use the command
addStructuredDocumentTag('checkbox')
But I can't figure out how to be able to write text to the right (opr left) of it. Any ideas`?