I recently created a custom form control with the below in the front end.
<asp:CheckBox ID="chkParentalApproval" runat="server" ClientIDMode="Static" />
<cms:LocalizedLabel ID="lblParentalApproval" AssociatedControlID="chkParentalApproval" EnableViewState="false" runat="server" ResourceString="ParentalApproval.ValidationError" />
And have set it up with
Attribute type: Boolean,
Form Control type: Input. And in the bizform, I'm doing the custom layout and used:
$$input:WordsParentalApproval$$
$$label:WordsParentalApproval$$
However, the label that is created becomes a span instead of a label that links to the checkbox. Am I doing something wrong? Or is this a bug? How else should I set it up?
Thanks,
John.