Using IF AND logic in perl

I'm trying to customize the text of ACBC questions (BYO in particular) based on type of respondent, which is a passed-in variable.

Here's the "standard" uv perl from LHS help:
[%

begin unverified perl

if(QUESTIONNAME() eq "widgit_Screener1")

{

return "Here are a few widgets you might like.";

}

else

{

return "Here are a few more widgets you might like.";

}

end unverified

%]

I tried modifying "if" statement to read :
if(QUESTIONNAME() eq "widgit_Screener1 and HTYPE() ==1")

but that leads to "begin unverified perl without end unverified" error.

Any ideas?
Thx

Resolved
1 reply