Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By fibo2358
#796091
Hello,

I have a grid inside a subform. I would like to set the onchange event handler that is called each time when a value in the grid field is changed, i.e. when a dropdown value is selected inside a grid.

In a subform I use

$("#2329784615a02bce335c442069321071").setOnchange (verifyOnchange);

function verifyOnchange() {
...
}

and it works fine in a subform, but it doesn't work when I display the master form.
Moving the code to the master form javascript doesn't solve the problem.

Could you please help?

Best Regards,
fibo2358
#796100
First of all, please file a bug report about this problem at http://bugs.processmaker.com

As a workaround, you can use standard jQuery, like this:
Code: Select all
$("#2329784615a02bce335c442069321071").change( function(e) {
   verifyOnchange(e);
})

function verifyOnchange(e) {
   alert(e.target.id + ': ' + e.target.value);
} 

Hi Amo, I was using PM 3.2.2, and in my process, […]

(+91-9876425548) How can we bring back our ex by d[…]

(+91-9876425548) Indian Astrologer Get EX Love bri[…]

CLASSIC AND BPMN

Hi in PM 3.0 GA community edition Is there a way t[…]