o.k. found a solution. Spent a while trying to do string matches / compares and failed so changed things a bit
1). for visitor_name set up the following options
0 | -----Select a WiFi Device -----
1 | Game Console - WiFi Xbox
2 | Game Console - WiFi Playstation
3 | Game Console - WiFi Nintendo
4 | Roku - WiFi Device
20 | Airgroup - Amazon Echo
21 | Airgroup - Amazon Fire Device
22 | Airgroup - Google Chromecast Device
23 | Airgroup - Google Home
24 | Airgroup - Sonos Device
99 | -----Select a Wired Device -----
100 | Game Console - Wired Xbox
101 | Game Console - Wired Playstation
102 | Game Console - Wired Nintendo
103 | Smart TV - Wired
Then in airgroup_enable
Set the enabled and visible fields to have
(visitor_name.value >= 20) && (visitor_name.value <= 24)
Basically all the ones in the dropdown list with Airgroup in the list item.
Then in airgroup_shared
(typeof(airgroup_enable) == "undefined" || Nwa_GetInputValue(airgroup_enable) == 1) && ((visitor_name.value >= 20) && (visitor_name.value <= 24))
and finally in airgroup_shared_user
((typeof(airgroup_enable) == "undefined" || Nwa_GetInputValue(airgroup_enable) == 1) && (typeof(airgroup_shared) == "undefined" || Nwa_GetInputValue(airgroup_shared) == 1)) && ((visitor_name.value >= 20) && (visitor_name.value <= 24))
And it all works! you can select an item on the list and then have conditional airgroup settings visible depending on the visitor_name selected.
As we've got the previous version live can't really move this over to using Roles to select something this year, but as people have to register devices every year we can sneak in the change next September
That gets people past the registration page. ClearPass Policy Manager then generates roles based upon dhcp fingerprint associated with these devices.
Rgds
Alex