Can anyone help me in understand the problem in the below code?
I have a question for Age with dropdown box and followed by hidden variable that groups age category. This code is not working.
<input name="HS2_Age" type="open" value="[% begin unverified perl
if (S2>=2 && S2<=9)
{
HS2_Age=1;
}
elsif (S2>=10 && S2<=13)
{
HS2_Age=2;
}
else
{
HS2_Age=99;
}
end unverified %]"
>