#1
|
|||
|
|||
![]()
I am trying to create an on-line FusionPro template of a "phone book".
I want to offer the following functionality: - User enters (into one large text box?) a list of names and corresponding phone numbers. - when they click the 'Refresh Preview' button (i.e. onRecordStart?), the list they entered is returned, sorted alphabetically. Is it possible to write a JavaScript rule that does this? Here's one thing to keep in mind... For each NAME, I need to associate a PHONE NUMBER So for example, if I enter the following data: John Smith 858-123-4567 Adam Rodriguez 986-456-7894 Robert Hoo 201-457-7847 ... I should get this back: Adam Rodriguez 986-456-7894 John Smith 858-123-4567 Robert Hoo 201-457-7847 (The list was sorted alphabetically, and the phone numbers "moved" with the corresponding name) Can I bribe someone with an amazon.com gift certificate if they can help me pull this off?
__________________
-- Eric Carbone IT/Project Manager, MOR Printing Inc. Windows 10 |Adobe Acrobat XI | FusionPro 9 |
Tags |
alphabetically, alphabetize, array, sort |
Thread Tools | Search this Thread |
Display Modes | |
|
|