<$set name="myVariable" filter="[all[current]field:gender[male]]" value="It's male" emptyValue="It's not male">
<$text text=<<myVariable>>/>
</$set>\define he()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="he" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="she" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[]]" value="Missing value for gender" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
</$set>
\end
\define He()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="He" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="She" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define she()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="he" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="she" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define She()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="He" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="She" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define him()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="him" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define Him()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="Him" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="Her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define her()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="him" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define Her()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="Him" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="Her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define his()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="his" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define His()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="His" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="Her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define her()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="his" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
\define Her()
<$set name="myVariable" filter="[all[current]field:gender[male]]" value="His" emptyValue="">
<$text text=<<myVariable>>/>
<$set name="myVariable" filter="[all[current]field:gender[female]]" value="Her" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
</$set>
\end
{{||FakeRadio}}
<<he>>
<<She>>
<<his>><$reveal type="match" state="!!gender" text="">
<$button set="!!gender" setTo="male" class='tc-btn-invisible'>
<input type=radio/></$button> Choose Boy/girl</$reveal>
<$reveal type="match" state="!!gender" text="female">
<$button set="!!gender" setTo="" class='tc-btn-invisible'>
<input type=radio checked/></$button> Girl</$reveal>
<$reveal type="match" state="!!gender" text="male">
<$button set="!!gender" setTo="female" class='tc-btn-invisible'>
<input type=radio checked/></$button> Boy</$reveal><$reveal type="match" state="!!gender" text=""><$reveal type="match" state="!!gender" text=""> <$button set="!!gender" setTo="male" class='tc-btn-invisible'> <input type=radio/></$button> Choose Boy/girl/pige</$reveal> <$reveal type="match" state="!!gender" text="female"> <$button set="!!gender" setTo="" class='tc-btn-invisible'> <input type=radio checked/></$button> Girl</$reveal> <$reveal type="match" state="!!gender" text="male"> <$button set="!!gender" setTo="female" class='tc-btn-invisible'> <input type=radio checked/></$button> Boy</$reveal><$reveal type="match" state="!!gender" text="">