Use the slice() method in a practical example, to truncate a credit card number and only show the last four digits in the confirmation step of a checkout form.
- There are three string methods in Axure that…we can use to truncate text.…There's sub-STR, substring and slice.…In this example, we'll be using the slice method…to truncate a piece of text in our prototype.…Specifically, we'll work on cutting a credit card down…to just the last four digits.…I'm going to take a moment and preview…just so we can see how this prototype is set up now.…I'll close this little panel so that we can see.…And what we've got here is a basic check-out form,…with some contact info and some payment information.…
I'll take just a moment and fill this out so that we can see…what happens on the next page.…Once we click continue our prototype is transferring…over all of the information we just entered…into this review screen here.…But right now it's showing the entire…credit card number that was entered on the previous step.…What we'll do now is change it so that it only shows…the last four digits.…That's more like what we would want to do…if it were a real website, so that's what we want…our prototype to do, also.…
- Using variables in Axure
- String methods in Axure
- Truncating text strings
- Formatting dates and times
- Setting up a looping animation
- Setting up a responsive background image
- Positioning widgets in the browser
- Repeater and item properties
Skill Level Advanced
1. Widget Properties
3. Dates and Times
4. Window Properties
5. Repeater and Item Properties
6. Global Variables
Global variables2m 14s
Using plugins on Axure Share2m 49s
8. When Things Go Wrong
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.