Axure Docs
  • Axure RP Reference
  • Axure RP Tutorials
  • Axure Cloud Reference
  • Axure Support
  • Download

›Complex Interactions

The Basics

  • Interactive Button
  • Hiding and Showing Widgets
  • Pass Text to Next Page
  • Anchor Link
  • Embedding Media
  • Full Width Image or Banner
  • Scrolling Region
  • Rotating Carousel / Slideshow
  • Navigation Menu
  • Tooltips
  • Tab Menu
  • Accordion Menu
  • Drag and Drop

Complex Interactions

  • Account Login
  • Auto Tab Fields
  • Blinking Text
  • Dynamically Set Droplist Options
  • Set Text with Droplist
  • Required Fields
  • Scroll Activated Sticky Header
  • Set Dynamic Panel State on Next Page
  • Slider Control
  • Terms and Conditions
  • Timer

Mobile Patterns

  • Swiping Slideshow
  • Toggle Switch

Auto Tab Fields Tutorial

In this tutorial, you'll learn how to make a group of text fields that automatically advance the cursor when the current field has been completed. The example we'll use is a birthdate form.

Note

Click here to download the completed RP file for this tutorial.

1. Widget Setup

  1. Open a new RP file and open Page 1 on the canvas.

  2. Drag three text fields onto the canvas. Name one Day Field, one Month Field, and one Year Field. (You can optionally label each with a label widget.)

  3. Make the text fields a bit narrower and then line them up in this order:

    [Month Field] [Day Field] [Year Field]

    Note

    Feel free to order your text fields differently to match your regional date format. Just remember that you'll also need to create a different cursor flow in the following steps.

2. Automatically Advancing from the Month to the Day Field

Set Focus on the Day Field

  1. Select the Month Field and click New Interaction in the Interactions pane.

  2. Select the Text Changed event in the list that appears, and then select the Focus action.

  3. Select the Day Field in the Target dropdown. Then, click OK to save the action.

Advance Only After the User Has Entered Two Numbers

  1. Hover over the Text Changed heading and click Enable Cases to the right. In the Condition Builder dialog that appears, click Add Logic.

  2. In the condition row that appears, select length of widget value in the first dropdown and enter 2 in the field to the right.

    The summary at the bottom of the dialog should read: if length of value of This equals "2". This condition will be met when the text field's text reaches two characters in length.

  3. Click OK to close the Condition Builder.

3. Automatically Advancing from the Day Field to the Year Field

Repeat Step 2 with the Day Field text field. Give it the same Text Changed interaction as the Month Field, but target the Year Field in the Focus action instead.

4. Preview the Interaction

  1. Preview the page and click on the Month Field.

  2. Enter your birth month in two-digit format — 01 for January, 02 for February, and so on — and the cursor should automatically advance to the Day Field.

  3. Enter your two-digit birth date, and the cursor should automatically advance to the Year Field.

← Account LoginBlinking Text →
  • 1. Widget Setup
  • 2. Automatically Advancing from the Month to the Day Field
    • Set Focus on the Day Field
    • Advance Only After the User Has Entered Two Numbers
  • 3. Automatically Advancing from the Day Field to the Year Field
  • 4. Preview the Interaction
Axure Docs
Stay Connected

Sign up to receive Axure tutorials and news. You can unsubscribe at any time.

Axure
TourEnterpriseCompanyDownloadPurchase
Legal
Customer AgreementPrivacy PolicyGDPRSecurityPatents
Resources
BlogForumLicense PortalAxure Cloud
Support
Learn and SupportGetting StartedReferenceWidget LibrariesAxure RP 8 Documentation and Tutorials
Copyright © 2002–2021 Axure Software Solutions, Inc. All rights reserved. Axure® is a registered trademark of Axure Software Solutions, Inc.