asked on November 2, 2023 Show version history

I have a form that I only want it to run my code when a pagination page gets focus. Before I just watched for when either the next/previous buttons got clicked or the tab was clicked then check what page had focus. If it was the page I was watching for then I ran the code.

This was done to drastically cut down how often a couple of my lookups were being triggered as part of the data the lookup used is in a table on a previous tab. So each time they added a row or changed a particular field value in that table the lookup I had no need to run just yet would trigger and slow down the form.  It was much better to wait until they had entered all of the data in the table and moved to the next tab to run the next lookup(s). These lookup were triggered by manually only copying the unique values entered in the first table, into the next when the tab had focus. 

 

Link to where I asked if this was possible in v11 https://answers.laserfiche.com/questions/212861/Is-there-a-way-to-call-a-function-when-a-pagination-tab-gets-focus

0 0