Hi ,
I am trying to read a multiple checkbox in velocity this is my code.
#foreach( $additional_province in
$opportunity.additional_provinces_821102568)
{
#if ($opportunity.additional_provinces_821102568.checked == true)
{
#if ($opportunity.additional_provinces_821102568.value ==
"Quebec")
{
#set($value1 = "CSST");
}
#end
#if (additional_provinces_821102568.value == "Ontario")
{
#set($value1 = $value1 + "WSIB");
}
#else
{
#set($value1 = $value1 + "WSB");
}
#end
}
#end
}
#end
can anyone let me know what is wrong in this.. i just cannot get this right
.
thanks !
--
View this message in context:
http://old.nabble.com/Velocity-html-help-tp28019574p28019574.html
Sent from the Velocity - User mailing list archive at Nabble.com.