Expand my Community achievements bar.

SOLVED

Text Field Component

Avatar

Level 1

Hi,

    I had a doubt regarding form text field Component.

Once we insert form component into the parsys, and we add a textfield into the form generally the text field should display as" LABEL TEXTBOX".where as when we insert a textfield component LABEL is appearing at the top of TEXTBOX. I am using cq5.6

Please help me with it

Thanks & Regards,

Krishna

1 Accepted Solution

Avatar

Correct answer by
Level 10

This is what you are seeing -- correct?

[img]atextfield.png[/img]

Most components in CQ can be modified to meet your needs. In this case -- you have two choices -- you can customize this component by modifying its JavaScript. 

Or number 2 -- you can create your own form component in CQ using a framework like JQuery and a CSS. You can make it appear to suit your needs.  

See the community that shows an example of creating your own form and using a custom CSS. 

http://scottsdigitalcommunity.blogspot.ca/2013/01/persisting-cq-data-in-java-content.html

You can add  your own form component to the sidekick. To learn how to add a component to the side kick -- see this article:
http://scottsdigitalcommunity.blogspot.ca/2013/09/integrating-cq-custom-map-component.html
 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

This is what you are seeing -- correct?

[img]atextfield.png[/img]

Most components in CQ can be modified to meet your needs. In this case -- you have two choices -- you can customize this component by modifying its JavaScript. 

Or number 2 -- you can create your own form component in CQ using a framework like JQuery and a CSS. You can make it appear to suit your needs.  

See the community that shows an example of creating your own form and using a custom CSS. 

http://scottsdigitalcommunity.blogspot.ca/2013/01/persisting-cq-data-in-java-content.html

You can add  your own form component to the sidekick. To learn how to add a component to the side kick -- see this article:
http://scottsdigitalcommunity.blogspot.ca/2013/09/integrating-cq-custom-map-component.html