© 2002-2017 Axure Software Solutions, Inc. All rights reserved. Axure ® is a registered trademark of Axure Software Solutions, Inc.

AXURE

RESOURCES

LEGAL

CONNECT

EMAIL

 

SET TEXT WITH A DROPLIST

Dynamically set text on a widget based on a selection made in a droplist.

STEP 0: DOWNLOAD THE TRAINING FILE

If you don't already have it, download AxureTraining.rp and open it up in Axure RP. This file contains pages corresponding to each of the tutorials on the Axure training site. We recommend always completing the tutorials using our prepared file, but if you can't, that's okay too—we'll always tell you what to build in a new file in order to complete each tutorial without using AxureTraining.rp.

STEP 1: GET STARTED

In AxureTraining.rp, open the page named “Set Text with Droplist”.


The droplist on this page is used to select a shirt size, which will then be displayed on the rectangle widget above the “Shirt” custom shape widget.


Click the rectangle widget to select it. In the field at the top of the Inspector, name the widget “Size label”.

STEP 2: CREATE SET TEXT ACTION

Click the droplist to select it. In the Properties tab, double-click "OnSelectionChange" to add a new OnSelectionChange case.


In the left column, click the action “Set Text”.


In the right column, check “Size label (Rectangle)”.


At the bottom of the column, change the “Set text to” dropdown to “selected option of”.


Leave the second dropdown set to “This”.


Click "OK" to close the Case Editor.

STEP 3: PREVIEW

Click Preview.


Change the droplist selection to change the “tag” size on the shirt.

MORE RESOURCES

CORE TRAINING

Getting Started

Flow Diagrams

Static Wireframes

Interactive Prototyping

Collaboration

TUTORIALS

Interactive Button

Text Link

Show Hidden Widget

Navigation Menu

Tab Control

Lightbox

Flyout Menu / Custom

     Tooltip

Accordion Control

Account Login

Image Carousel

Auto-Tab Fields

Required Fields

Dynamically Set

     Droplist Options

Set Text with Droplist

Pass Text to Next Page

Full-Width Image or

     Banner

Scroll-Activated Sticky

     Header

Slider

Drag and Drop

Embed Media

Scrollable Table

Set Dynamic Panel State

     on Next Page

Table with Images

Terms and Conditions

Custom Icon Button

Custom Text Field

Custom Checkbox and

     Radio Button

Custom Droplist

Custom Datepicker

MOBILE TUTORIALS

Swiping Slideshow

Scrolling Content

Sliding Menu

Toggle Switch

Animated

     Screen Transition

REPEATER

TUTORIALS

Basic Repeater -

     Dynamic Table

Sorting Rows

Filtering Rows

Adding, Deleting, and

     Updating Rows

Marking Rows

Advanced Repeater -

     Product Listing

Reference Pages

Advanced Filtering

Pagination

REFERENCE GUIDE