Hi Bruno,
I'm trying to get this working:
[[!If?
&subject=`[[*stype_radio]]`
&operator=`EQ`
&operand=`sales`
&then=`
[[!AdvSearch?
&ids=`[[!GetIds? &ids=`c147`]]`
&tpl=`salesSearchResult`
&perPage=`5`
&pagingType=`2`
&queryHook=`sales-hook`
&withTVs=`property_type,bedrooms`
&includeTVs=`property_area,property_price,service_type,property_ref,property_p_image,bathrooms,sq_ft,stype_radio`
&sortby=`bedrooms`
]]
`
&else=`
[[!AdvSearch?
&ids=`[[!GetIds? &ids=`c148`]]`
&tpl=`salesSearchResult`
&perPage=`5`
&pagingType=`2`
&queryHook=`sales-hook`
&withTVs=`property_type,bedrooms`
&includeTVs=`property_area,property_price,service_type,property_ref,property_p_image,bathrooms,sq_ft`
&sortby=`bedrooms`
]]
`]]
but the TV stype_radio just won't return the value "sales" to satisfy the conditional.
my input options are
Sales==sales||Rental==rental
Neither radio option is ticked either and I'd like either to be.
Thanks