how can i get something to execute based on witch radio button they check or like what they select.
IE
two radio buttons
1) Red
2)Blue
now if they mark the red radio button then it executes one thing
and if it checks the blue one it executes something else
like:
if (field1=red) {
execute this
}
elseif (field1=blue){
execute this
}
else{
execute this
}
However how could i do that in a way that the templates would understand