Security

Reply
Occasional Contributor I

How to customize Guest user creation form validation

I have created a simple create_user form and have a question about form validatioin.  Currently the guest name and terms are the only feilds that are required.  However I would like to make the form error out if either phone number or email address are not provided.  Making these required fields is not an option for my customer. 

 

 

Feilds present are: Guest Name, Phone Number, Email and Terms and Conditions.

 

 

 

 

Guru Elite

Re: How to customize Guest user creation form validation

 When you edit the form the "Field Must Be Supplied" attribute must be checked:

 

Screenshot 2016-08-09 at 14.48.42.png

******************
Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.
******************
Occasional Contributor I

Re: How to customize Guest user creation form validation

That option is selected for both the guest_name and terms and conditions feild. What I would like to happen is in the guest_name form have validation set to check to see if either the phone number or email address feild are filed out, if not return a validation error "please enter either phone number or email address".
Guru Elite

Re: How to customize Guest user creation form validation

That would be the "Validation Error" parameter:

 

Screenshot 2016-08-09 at 20.32.06.png

******************
Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.
******************
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: