Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

LiveCycle7 to LiveCycle8 problems

Avatar

Former Community Member
I have a javascript code that was used on the Print Button to validate a field before it would allow a print. It worked great in ver 7 but it just freezes ver 8. You do not even get the print pop up. Here is the script



//if the UserId field is not blank and the length of the field is 7 then print

if (F.P1.UserID.rawValue != null && myString.length == 7){

xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 1, 0, 0, 0);

}

//otherwise send and err

else{

app.alert("You must enter a valid 7 digit Blue Cross of Idaho User Id to continue.");

}



What am I missing?
0 Replies