Security

Reply
Occasional Contributor I

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

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 ::
ACSA :: Working on my ACCX!!
Intelecom - Norway
----------------------------
Remember to Kudo if a post helped you! || Problem Solved? Click "Accept as Solution" in a post!
Occasional Contributor I

Re: a room number field in guest self registeration

thank you very much it is very helpful guide

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