webMethods

webMethods

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
Expand all | Collapse all

Need to suppress modal dialog display until after input validation

  • 1.  Need to suppress modal dialog display until after input validation

    Posted Mon July 29, 2013 10:57 AM

    When I do a customer search, it brings up a modal dialog to display the search results.

    How do I suppress the modal dialog display if I need to validate search input? That means the modal dialog will only display after validating the search input.


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


  • 2.  RE: Need to suppress modal dialog display until after input validation

    Posted Tue July 30, 2013 02:41 AM

    How is the modal box getting triggered, are you doing it using toggle control , or using Javascript ?
    Also what kind of validation do you need, will a javascript validation suffice ?

    My guess is you are using toggle control - if you change the code to open the Model Box through Javascript, you can finish the validation on ‘onClick’ and then based on the result you can open the modal box.

    If you want server side validation i.e. validating customer data from a DB, you would have to use aync controls to send it to the server , validate and based on the result , you can conditionally trigger the modal box.


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