cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Announcements
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

913
Views
5
Helpful
7
Replies
Cisco Employee

Reorder Guest Fields

Do we have a script to re-oder Guest fields, such as move "person being visited"?

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: Reorder Guest Fields

Here is an example we had on how to move elements.

This can be used for Japanese use case where the last name should come before the first name. This is put in the instructional text field of the Create Accounts for Known Guests under a sponsor portal page.

​<script>
jQuery(function(){
  setTimeout(function(){
  var first_name = jQuery('.firstName').parents().eq(1);
  var last_name = jQuery('.lastName').parents().eq(1);

  first_name.remove();
  last_name.after(first_name);  }, 1000);});

</script>

View solution in original post

7 REPLIES 7
Highlighted
Cisco Employee

Re: Reorder Guest Fields

Here is an example we had on how to move elements.

This can be used for Japanese use case where the last name should come before the first name. This is put in the instructional text field of the Create Accounts for Known Guests under a sponsor portal page.

​<script>
jQuery(function(){
  setTimeout(function(){
  var first_name = jQuery('.firstName').parents().eq(1);
  var last_name = jQuery('.lastName').parents().eq(1);

  first_name.remove();
  last_name.after(first_name);  }, 1000);});

</script>

View solution in original post

Highlighted
Cisco Employee

Re: Reorder Guest Fields

What portal page did you want this for? Thinking maybe self-reg page?

Highlighted
Cisco Employee

Re: Reorder Guest Fields

Correct, self-registration.

BTW, what are the txt field names for the fields that I need to reference. Is there a reference where I could find the variable names?

Thanks

Highlighted
Cisco Employee

Re: Reorder Guest Fields

You can see the fields under the portal language files (export them at the top right of the page)

Or if you use chrome developer tools to decode the elements

I am working on getting this to work with self-reg, what are the fields you want to reorder?

Highlighted
Cisco Employee

Re: Reorder Guest Fields

Sorry for my delayed reply. I am looking to move "person being visited" to the last. Maybe more fields are needed but will wait on the customer.

Highlighted
Cisco Employee

Re: Reorder Guest Fields

Highlighted
Cisco Employee

Re: Reorder Guest Fields

Thank Jason, will let you know if I need further changes.

Thanks

Benjamin Gajadar

Network Consulting Engineer

Cisco Security Solutions - Integration