Security

 View Only

clearpass guest form field customisations

This thread has been viewed 9 times
  • 1.  clearpass guest form field customisations

    Posted Oct 12, 2018 07:00 AM

    I've set up a clearpass guest device registration page where users register the mac adresses of their game consoles.

    I now want to extend this to include airgroup devices.

     

    Visitor name has been remamed Device name in the web page and is  a drop down list of key/value pairs

    I only want to enable form fields airgroup_enable and airgroup_shared if the visitor name os one of a subset of devics ( Amazon Echo , Sonos ... etc) .

    In a fields "Advance properties" there are two conditions that can be set, enable if and visible if.

    An example visible if  is 

    (typeof(airgroup_enable) == "undefined" || Nwa_GetInputValue(airgroup_enable) == 1)

     

    So should I be able to set up something like 

    Nwa_GetInputValue(visitor_name) == "Amazon Echo") in the aitgroup enable and airgroup shared  form fields so that these ( hiden fields are only enabled for a selected number of devices?

     

    Rgds

    A