Variable in my javaScript of CSS page didn't trick the event change when the varable was filled with lookup rule.
I 've never found this issue in LF Forms 9.1. It happened when I upgraded to LF Forms 9.2.
Here is the code; Output of PettCashLimit_after is blank;
$(document).ready(function () {
$('.PettyCashLimit_before').change(function () {
$('.PettyCashLimit_after input').val(10);
});
})
and when I changed to ready event; Output of PettCashLimit_after is 10;
Here is the code;
$(document).ready(function () {
$('.PettyCashLimit_before').ready(function () {
$('.PettyCashLimit_after input').val(10);
});
})
Default value of PettyCashLimit_before is 0. and Then It was filled in with Lookup rule which got data 1 row from a table.
How can I write javaScript to trick change event when It already got data from Lookup rule?
Are there anything change from Forms 9.1 in 9.2 about this ?
Please suggest.
Regards;
Bongkoch