asked on May 1, 2016
We have a lot of forms where we have to run various JavaScript functions after all lookups have been completed. Currently, this requires a lot of extra "cruft", e.g. hidden fields, polling the DOM regularly to see if they have values (i.e. coming from lookups), change event handlers attached to multiple fields, etc.
It would be great if Forms provided a custom event that fired when all lookups completed, so that we could do something like this:
$("#form1").on("lookups-complete", function() { //etc. });
More information on custom events can be found here.
Thanks for reading.
6
0