Security

Reply
Occasional Contributor I
Posts: 6
Registered: ‎12-16-2014

a room number field in guest self registeration

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

MVP
Posts: 485
Registered: ‎05-11-2011

Re: a room number field in guest self registeration

Hello

 

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.


Regards
John Solberg

-ACMX #316 :: ACCP-
Intelecom - Norway
----------------------------
Remember to Kudo if a post helped you! || Problem Solved? Click "Accept as Solution" in a post!
Occasional Contributor I
Posts: 6
Registered: ‎12-16-2014

Re: a room number field in guest self registeration

[ Edited ]

thank you very much it is very helpful guide

Search Airheads
Showing results for 
Search instead for 
Did you mean: