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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Input Box for Currency

    Posted 05/13/09 02:43 PM

    Hi,

    I was wondering; what is the common way of masking an input box for currency using the CAF?

    Normally, in any other web platform I will use a JavaScript on the onKeyPress event of the input box and pass the event to check which key was press. That JavaScript function would return true only if a number is press and would also format the text.

    I tried using the same JavaScript in the onKeyPress properties in the CAF but I was unable to capture the event.

    Example the old way à



    function currencyFormat(fld, e) {

    }


    #webMethods-BPMS
    #BPM
    #webMethods


  • 2.  RE: Input Box for Currency

    Posted 06/20/09 01:36 AM

    For your control’s client side events you can find key press etc events and put your javascript code in there.
    In addition to that you may try using validators. There are some build in validators. You can write your own as well.


    #BPM
    #webMethods-BPMS
    #webMethods