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

Text editor

Avatar

13-02-2009

Is it possible to add some piece of code or something else (I don't really know how)to allowed users to change text (Bold, italic, list, etc) in textFields.



EX: the form is,in fact, a kind of template to guide users to create documents.



But I'd like they have the possibility to highlight with bold or italic some words in the text field.



I'm not native english speaker and I hope my question is clear.



Thanks.



nath

Replies

Avatar

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile
Niall_O_Donovan
Level 10

13-02-2009

Hi Nath,



If you are using LiveCycle Designer you do not need to have script to allow the user change the format of some of the inputted text.



The way to do this depends on the version of LC you are using.



In LC Designer ES (8.1) go to the Object/Field tab of each textfield. For "field format" change the pull down from "Plain Text Only" to "Rich Text".



If you are using an earlier version of LC then you need to make two changes in the Object Tab. From memory one is in the Field tab (as above) and the other in the Binding tab.



Once you have changed these properties then the user can select words or whole paragraphs and change the format. For example "Control + B" will give you bold text, "Control + U"; underline, "Control + I"; italic. When a field is active you can press "Control + E" and this will allow you to edit/change the font type and size, etc.



Hope that helps.



Niall

Avatar

13-02-2009

Thanks but i can't choose "Rich texte" cause my textfield have to grow up with the entry.

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

13-02-2009

If you can't choose Rich text then you cannot change the attributes that you want. That is what Rich Text is.



Also Rich Text does not stop the field from growing. One has nothing to do with the other.

Avatar

03-03-2009

Thanks.



I've tried but it isn't what I real need.



In fact, this way allowed people to change color of text, font, etc.



To the integrity of the design chart of my sociaty, I'd like to allowed ONLY bold, underline and list.



How I can do this ? Is it possible ? by javascript ?



Thanks to your help



Nath

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

03-03-2009

I am afraid it is all or nothing