Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Line through a word in a textfield by click button

Avatar

Level 4

is there anyway that line through/Strike through a word in a text field by click button.

e.g. in a textfiled "he is a good/bad boy."

by click a button

"he is a good/bad boy.

plz help me

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can do this with a RichText field and JavaScript.

See this thread as an example: https://forums.adobe.com/thread/1774084#7356532

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

You can do this with a RichText field and JavaScript.

See this thread as an example: https://forums.adobe.com/thread/1774084#7356532