Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Custom Form Container - Adding DIV tag between the form elements label and the field

$
0
0

Hi,

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?


Viewing all articles
Browse latest Browse all 6894

Trending Articles