I have the following code in Adobe LiveCycle Designer FormCalc:
if (form1.subform[0].complete_flag.rawValue == "1") then
$.presence = "invisible";
endif
I want to use N++ find/replace with regular expression or similar to replace the above code to look like (to convert to JavaScript):
if (form1.subform[0].complete_flag.rawValue == "1") {
this.presence = "invisible";
}
basically, in one run of find/replace, substitute the following:
then ==> {
$. ==> this.
endif ==> }
Is this possible using N++ or similar tools?
Tarek