12-16-2014 01:12 AM
I will add a room number field in guest self registeration , and I need to write a validator to restrict the field values to some specific room numbers , can any one help to write a working validator ?
example : use room numbers : M123 , HE123 , AB456 and AB 789
thanks in advance
Solved! Go to Solution.
12-16-2014 01:27 AM
What kind of validation do you need? Would it be an array of valid room-numbers or just have to be typed in a certain way?
Depending on how many room numbers we're talking about you could do this with the IsArrayValue.. No idea how big the array can be, but worth a shot I guess.
Check out page 229 - example 2 - in the Clearpass Guest 6.4 User Guide.
Use validator "IsArrayValue"
Under Validator Arguement input your array.
-ACMX #316 :: ACCP ::
ACSA :: Working on my ACCX!!
Intelecom - Norway
Remember to Kudo if a post helped you! || Problem Solved? Click "Accept as Solution" in a post!