Tooltip in unverified perl

I have a ACBC exercise where I need a tooltip on the BYO page but no where else in the exercise. I know how to setup unverified perl to change text, but trying to get it ot work with a tooltip has me stumped. I'm not knowledgeable with Perl to understand what I'm getting wrong.

The code I have now returns an error
"Perl must have content and/or whitespace (e.g., space, new line, or tab) between 'Begin Unverified Perl' and 'End Unverified". The end block may also be missing"

Here is my code. Any suggestions?


[% begin unverified perl

if(QUESTIONNAME() eq "ACBC_BYO")

{

return "[% TOOLTIP("Please hover or click here for a description","Machine produces sterile fluid for priming, fluid bolus, and rinse back without the need for bags of saline - optimizing workflow and lowering the cost of care.") %]</br></br><b>New feature</b>: Online sterile fluid to replace saline";

}

else

{

return "<b>New feature</b>: Online sterile fluid to replace saline";

}

end unverified %]

Resolved
3 replies