Only IE - "Script with long runtime blocks site"

Resolve a long-running script error in Internet Explorer when using a decimal mask in a ChronoForms form.

Overview

The issue was caused by a bug in the mask code for decimal fields, which triggered a script timeout during input.
Update ChronoForms to version 5.0.3 or later, then clear both your browser and website cache to apply the fix.

Answered
Fe FenFire 22 Oct, 2014
Hi Max, hi Bob,

I had to present my site today and got an issue with IE that doesn't appear on Firefox (works perfect there).
If I fill the form here http://kreuzwertheim-mobil.de/index.php/carsharing/auto-eintragen, click on "Weiter" (below, it's a multi-page form) and try to input prices/numbers at the second site (below "Zeit" or "Kilometer"), the site breaks.
After a while I got a message saying "Ein Skript mit langer Laufzeit verhindert, dass kreuzwertheim-mobil.de ausgeführt wird." (in English it's something like: "A script with long runtime blocks the execution of kreuzwertheim-mobil.de.").
I do not know further, and I don't think there is script connected to it (at least I did not write one). Also the form is not inside <p>-tags. What is the problem here?

Cheers
Christian
Fe FenFire 22 Oct, 2014
Oh, I forgot: I tried on IE 11.
Gr GreyHead 26 Oct, 2014
Hi Christian,

I only see a message saying "Bitte zuerst einloggen: Login rechts!" I can't access the form.

Bob
Fe FenFire 27 Oct, 2014
Hi Bob,
sorry, I completely forgot that you have to be logged in.
I sent some test login data to you via PM.

Thanks in advance.

Christian
Fe FenFire 12 Nov, 2014
Hi,
what about that one now?
I need some help with this, please.

Cheers
Christian
Max_admin Max_admin 13 Nov, 2014
Hi Christian,

Please try this link to access the form:

http://kreuzwertheim-mobil.de/index.php/carsharing/auto-eintragen?tmpl=component

Do you get the same issue ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fe FenFire 15 Nov, 2014
Yes, I do. It's the same error message.
Max_admin Max_admin 15 Nov, 2014
Do you have any custom js code on your form ?

Please try any of the demo forms, do they have the same issue ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fe FenFire 16 Nov, 2014
Hi Max,

it's a multipage form and on this page I do not have any custom code. I don't have problems with demo forms (as far as I know).
However, I now know where the problem is located. I chose "Decimal" as mask for the four price fields. I can click on the fields without problem but as soon as I push a key then, inputmask is processed and the site breaks.
Is it possible to solve this?
Or is there an alternative way for direct validation (while input is made)? I tried MeioMask already because I'd prefer decimals with commas, but I couldn't get it working.

Cheers
Christian
Gr GreyHead 16 Nov, 2014
Hi FenFire,

There was a bug in the mask code that did exactly as you describe. I think that it is fixed if you update to the latest release of CF. If not, please see this thread.

Bob
Max_admin Max_admin 16 Nov, 2014
Answer
I updated the file when Bob notified me about the issue earlier, and the fix should be available in v5.0.3, please update your install and clear your browser/website cache then test and let us know!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fe FenFire 16 Nov, 2014
I did as you said, now it works! Great!
Quite a few new features in 5.03, it seems - for such a small version increase...
This topic is locked and no more replies can be posted.