Adaptive Form Components Customization problem

Balu_M 23-11-2016

Hi, 

How can we customize guidetextbox component with out breaking existing functionality,We need change only appearance of textbox .

Problem: If we add new <div> elements to existing code, Additional attributes added to <Div> element instead of <Input> due to this problem we are not able to get user entered data during form submission. 

Can someone please suggest how to customize form components.

/libs/fd/af/components/guidetextbox/widget.jsp

          <c:otherwise>

                 <div class="abc">
                 <input type="text" id="${guideid}${'_widget'}" name="${guide:encodeForHtmlAttr(guideField.name,xssAPI)}" ......../>

               </div>

            </c:otherwise>

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (2)

Answers (2)

Khushwant_Singh 25-11-2016

Hi,

It is recommended not to make changes in the /libs branch. Any changes you do make may be lost, because this branch is liable to changes whenever you:

  • upgrade on your instance
  • apply a hotfix
  • install a feature pack

Regarding changing appearance of the text box, you can use inline styling or themes to change the appearance of a component of an adaptive form. See the following articles for more details

I hope it answers your query.

Regards,
Khushwant Singh