cancel
Showing results for 
Search instead for 
Did you mean: 

Making one of the lines bold in the body by using javascript coding

Former Member
0 Kudos

Hi Experts,

I am developing a adobe form. I want to make a line which is in the body of my letter BOLD by using javascript coding in my subform.

Can anybody solve my problem?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

nikhilkup
Active Participant
0 Kudos

Just curious to know your requirement why you want it to be done by coding when you can easily do it using FONT properties.

Former Member
0 Kudos

Hi,

Actually i am calling 6 letters in one form dynamically using some javascript code and conditions and in that six letters 2-3 line are in bold.

If you can tell me how to do it with some other approach then please let me know.

Or if you can tell me the way i asked then it is also fine.

Thanks in advance.

Former Member
0 Kudos

Hi,

You can try the following code .

if ( $.rawvalue == "some value" )

then $.font.weight = "bold"

endif