CA Service Management

 View Only
Expand all | Collapse all

How can I trigger the onChange Event of a Textfield when this is changed due ca_fdSetTextFieldValue

  • 1.  How can I trigger the onChange Event of a Textfield when this is changed due ca_fdSetTextFieldValue

    Posted Oct 24, 2017 10:39 AM

    Hi Guys,

     

    I'm filling the value for a textfield using the ca_fdSetTextFieldValue method. But when I use it the onChange event of that field is not triggered. Is there a way that the onchange method still triggers? 

     

    Cheers

    Chris



  • 2.  Re: How can I trigger the onChange Event of a Textfield when this is changed due ca_fdSetTextFieldValue
    Best Answer

    Posted Oct 30, 2017 03:49 AM

    Hi Chris.

    as you might know, onchange events are not triggered when setting values of input elements by java script in general.

    The only possibility I am aware of is, either enhancing  the setter function, so that it calls defined events explicitely, or enhancing the function which calls the setter function, which will call the event function explicitely after the value was set by the setter function.

    Hope this helps a bit.

    Regards

    ............Michael