You are viewing limited content. For full access, please sign in.

Question

Question

Stored procedure not running unless I manually click "autofill".

asked on March 15, 2016 Show version history

Hello,

I have a form that uses two stored procedures in its' lookup rules. The second is based on the returned values of the first. If I use the "autofill" buttons, the form works perfectly. However, if I hide them, only the first procedure is run. My CSS is:

.autofill {display:none;}

and my Javascript is:

$(document).ready(function(){
   $(".AF").on("change",".lookupCondition input", function(){
      $(this).closest("tr").find(".autofill").trigger("click");
   });
})

Any idea why the first SP is running, but not the second when I have this code entered, and how would I go about fixing it?

Images below:

 

 

Thanks,

 

0 0

Replies

replied on March 16, 2016

Found the solution - In my Javascript I had ".lookupCondition input" instead of select, so it was unable to use the drop down information.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.