I have followed the below reference to create a form container, and am trying to customise the look of the form.
Based on the documentation for "Rendering a multi-column form container block" under CMS 11.5 Developer Guides - Forms,
I have created a html helper RenderFormElements, and am looking to add custom div tags between the label and fields of a form element.
I understand that html.RenderContentData(content, false); is the function which returns the html details. HTMLHelper for RenderContentData could be the solution, but I need the content present in RenderContentData function. How can I get the original code for this function to write a htmlhelper class? Or is there a better way to achieve the ask?
If you are rendering a Forms element, you just pass the Model to your helper function. The Model should be ContentData.