Pass parameters to radioswitch pattern.