Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2012-06-20T16:56:03Z by SystemAdmin
SystemAdmin
SystemAdmin
1192 Posts
ACCEPTED ANSWER

Pinned topic Rendering Input Fields with Text Option List

‏2012-05-23T17:10:31Z |
I am new to HATS and amazed at the ease of use. But for components that are not recognized as components, I am not sure where to begin.

Example:
Option _

A - Alpha Customer Search
I - Individual Customer#
P - Phone# Search
S - State/alpha Customer Search
Z - Zip Search

I would like to have each line as a link that uses A-I-P-S-Z as input and then presses enter.
Using text replace I can make the text line as a url and have Enter used, but no idea how to change input.
Not sure if this is a good place to evoke macros or not.

Any feedback appreciated.

Mark Mason
386 569 1050
Updated on 2012-06-20T16:56:03Z at 2012-06-20T16:56:03Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1192 Posts
    ACCEPTED ANSWER

    Re: Rendering Input Fields with Text Option List

    ‏2012-05-23T22:01:52Z  in response to SystemAdmin
    Yeah - I RTFM .

    Created Global Rule on input and added text to drop down list with auto submit setting turned on.
    Will do Clean up on Screen Customization.
  • tmparker
    tmparker
    518 Posts
    ACCEPTED ANSWER

    Re: Rendering Input Fields with Text Option List

    ‏2012-05-24T12:48:16Z  in response to SystemAdmin
    Hi Mark,

    This sounds like a simple case to use the selection list component and render it using the link widget. This allows you to turn each option into a link and when clicked it will fill in the value into a specified input field and you can use the auto submit feature to send the enter key. There should be no need to add any type of global rules or macros. This is a basic feature of HATS. You can search for selection list on this page, http://publib.boulder.ibm.com/infocenter/hatshelp/v80/topic/com.ibm.hats.doc/doc/ugcwset.htm.

    Thanks
    Tim
    • SystemAdmin
      SystemAdmin
      1192 Posts
      ACCEPTED ANSWER

      Re: Rendering Input Fields with Text Option List

      ‏2012-06-20T16:56:03Z  in response to tmparker
      I used Global Rules and text replacement for 28 screens.
      All works and simple.

      So, I can also create widgets and components specifically for each input.
      Trying to see how to create a widget now...