Security

Reply
New Contributor
Posts: 2
Registered: ‎03-13-2014

Dynamically setting sponsor email based on field value

Hello,

 

On our guest registration page, we would like to have a drop down menu that allows the guest to select the location they are at (New York, Tampa, Los Angeles). Then based on the location they select, have an email sent to the sponsorship group at that location. In other words, we want to dynamically set the 'sponsor_email' field value based on the user inputted value from a drop down field. Can anyone help with this?

Guru Elite
Posts: 20,981
Registered: ‎03-29-2007

Re: Dynamically setting sponsor email based on field value

guccione24,

 

You would edit the form that is used to accept sponsor registration to have a set of dropdown options:  Enter ClearPass Guest and Go to Configuration> Guest Registration.  On the guest registration line, click on "Go To" to open a preview page of your guest registration. Go back to guest self registration and click on Edit.  Under "Register Page", click on Form to edit the guest registration form; this will allow you to edit the registration form.  Click on the line with sponsor_email and click on Edit (not edit base field) to edit how we display the sponsor field.  Change the "User Interface" parameter to "Drop-down list".  This will allow us to populate a set of choices.  In the "Label:" field, Change "sponsor email" to "Your Location:".  This will ask the customer to select their location, instead of entering an email for a sponsor.  Lastly, in the "Options: " field, enter a list of email addresses, a space, a pipe character and the location that we will be displaying.  That will populate our dropdown with hidden email addresses and locations for our users to select.  Look at the example below to see how to enter it.  

 

dropdown.png

 

 When you are done, click on "save changes" and then refresh the Guest registration page to see if it meets your liking:

 

guest-reg.png



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

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