Highlighted

Text editor

Macnana77

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

Highlighted

Niall_O_Donovan

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
Highlighted

pguerett

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.
Highlighted

Macnana77

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