IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

validation of two depending dropdowns

  • 1.  validation of two depending dropdowns

    Posted Mon December 08, 2008 09:55 AM

    Hi,

    I’ve got two dropdowns.

    The first one contains a list of all streetnames (option Group => IS service),

    The second dropdown contains a list of all available housenumbers for the selected street (option Group => IS service).

    Both dropdowns have default values (choices => option item before option group). “Please choose a street”, “Please choose a housenumber”

    I’ve added a custom validator to the first.

    If the selected value is “Please choose a street” it throws an exception.

    Now I’ve added a custom validator to the second dropdown.

    If the selected value is “Please choose a housenumber” it throws an exception.

    Now the second validator always throws an exception when the first dropdown changes its value, because the first dropdown sets the value of the second dropdown to “Please choose a housenumber”.

    Tobias


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS