Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
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