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