Jump to content

TaxGuy

Members
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

TaxGuy last won the day on September 23 2019

TaxGuy had the most liked content!

TaxGuy's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. I am calling a large script using an Event Listener <script type="text/javascript"> document.addEventListener('FormSubmitted', function(event) { [@app:calctax] }); </script> The function above is in the footer of a Single Record update form. The Parameter, calctax, has a 374 line script to calculated federal taxes. It seems to get in the way of the Submit button. I can enter a value in data field and nothing happens when I press the Update button, If I refresh the page and push it a few more times it will eventually update. Is there any way to time the Event Listener? Have it wait to complete before it runs my script? Any body else had problems running large calculation heave scripts? It is too bad calculated fields are so slow - would save me a lot of coding but I had a 2 minute load time using calculated fields. Thanks
  2. Putting the calculations in JS is much faster. My page took 2 minutes to load; it is down to about a second. There is a limit to 10,000 characters in one HTML block so I'm working on splitting it out.
  3. I am building at tax application which, as would be expected, has several complex formulas. I have pushed as much as I can back into the table but the inability to use a table calculated field in a subsequent table field means the heaviest formulas, all based on Case selections need to be performed on the data page. My load time averages a little over 2 minutes, which is unacceptable. If I put the calculations in an HTML block and do the calculations there, does that speed things up?
×
×
  • Create New...