Good Night folks!
<<set $test>>
<<radio $test "Chocolate">>
<<radio $test "Apple">>
<<if $test is Chocolate>> <<set $test = "Chocolate">> <<endif>>
<<if $test is Apple>> <<set $test = "Apple">> <<endif>>
What 's wrong with this formula ? How do I assign values to my variable this way ?
In my print , the result is always 0.
Comments
As the radio macro documentation states you have to have a button macro after your radio macros for the value to be stored.
Try the following:
(note: Using TWEE notation, the lines starting with double colons '::' represent a new passage's title.)