We're using Umbraco Forms, and we'd like the content-editor to add a link within the label of a checkbox field (for example, "I agree with the Privacy Policy", where Privacy Policy should be a link). What would be the best/easiest method to do this? I can alter the view and add an Html.Raw to the label text, and then just fill in HTML from the forms editor, but that is kind of hacky.
Maarten
03/14/2024, 10:15 AM
To answer my own question, extend the current Checkbox field type, remove it from the fields and insert my own. Then I can just change the type of the Caption field to rich text. Just checking if I can change the richtext editor profile specifically for this field 🙂
Maarten
03/14/2024, 10:22 AM
The answer to that question is, no, unless I change the Umbraco Forms backoffice frontend code as well, as there's no reference to the field when getting the Rich Text Editor profile.
r
Ravi
03/14/2024, 11:26 AM
As a forms spedific question, i don't think you necessarily can , unless they have added some new types or extension in some of the latest versions.. you could make a feature request ..