On Change doesnt work

On Change doesnt work

  

I have a ListBox 


I have Destination set to - a method called  - Filter_OnChange_Send_list


When a value in the List Box Changes, the above method is supposed to fire 


But nothing happens .. what am I doing wrong ???


Omran Bhatti wrote:

I have a ListBox 


I have Destination set to - a method called  - Filter_OnChange_Send_list


When a value in the List Box Changes, the above method is supposed to fire 


But nothing happens .. what am I doing wrong ???


Hi Omran, 


Can you share your OML, or maybe some prints? 


Thanks


Hello Onram,

You can check a few things.
First, if you have any kind of JavaScript error (check in the consola of the browser, inspect). THis can be disabling the action.

Second, you can check if it is really NOT calling the action, or if you have some kind of logic problem that makes your action not behave as you expect.

I did a very fast test and everything is working here (the OnChange assign Screen action is being called correctly when I select an element in the List Box).

Cheers.

Ho Omran,

Can you please share your oml it will be helpful to find out the problem.


Reagrds

-SK-

Hi Omran,

Have you tried to set the break point in onchange action and see if the pointer is coming inside that action when you change the value?

If it is coming inside the action, have you set any if condition which is not allowing the further execution of logic?

Also check when you come inside the action, if pointer is going to exception handling?

Also check the logs from Service Center.

Thanks and Regards,

Suraj Borade