Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Adaptive Form Components Customization problem

Avatar

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Balu_M
Level 2

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>

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Balu_M
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Balu_M
Level 2

29-11-2016

Thanks Khushwant, I will look into provided links.

Avatar

Avatar
Boost 5
Level 4
Khushwant_Singh
Level 4

Likes

26 likes

Total Posts

79 posts

Correct Reply

20 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
Khushwant_Singh
Level 4

Likes

26 likes

Total Posts

79 posts

Correct Reply

20 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
Khushwant_Singh
Level 4

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