Expand my Community achievements bar.

enabling strikethrough in text field

Avatar

Former Community Member
Friends,



I am trying to enable strikethrough in text field in abobe form.



I wrote the following formcalc code in the initialize event for the text field:



if($.TextField19.value == "") then

$.Line46.presence = "hidden".



I am getting this error message :



Script failed (language is formcalc; context is

xfa[0].form[0].data[0].Subform[0].Subform1[0])

script = if($.TextField19.valu == "") then

$.Line46.presence = "hidden".

Error: syntax error near token "hidden" on line 2, column 28.



Please help.



Regards,

John.
1 Reply

Avatar

Former Community Member
Hi,



Instead of writing a script you can use the strike through functionality provided in the font palette.



Regards,

sasi