Javascript to make text strikethrough based on other text field
Hello - I have a very basic JS for populating a text field based on if Y is entered in another text box.
I now need to be able to generate similar text with portions striken through and I am stuck on how to/if it is possible to format the text that way.
What I currently have:
var abn1 = this.getField("VolaraABNSame").value;
if (abn1=="Y") event.value = "SPECIFIC TEXT."
else event.value = " "
I will have an additional field that if == Y I would need the same text to generate but just with certain words strikenthrough.
Hope that makes sense, thanks!!
