Kirix Support Forums
On Errors form stops working
2 posts
• Page 1 of 1
On Errors form stops working
I have a form that when it hits an error msg, It stops the form from working. I hit a button and my buttons don't work. I have to exit the form and run it again. How do I get the form to continue working if errors come up?
- abenitez77
- Registered User
- Posts: 143
- Joined: Fri Jan 21, 2011 12:42 pm
Re: On Errors form stops working
The best way truly is to prevent errors from happening, as they will cause a runtime error condition, which stops your script entirely.
If that is not enough, I recommend using try/catch blocks.
try
{
// error-prone code
}
catch (e)
{
// this is called if an error happens
}
If that is not enough, I recommend using try/catch blocks.
try
{
// error-prone code
}
catch (e)
{
// this is called if an error happens
}
Ben Williams
Kirix Support Team
Kirix Support Team
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
2 posts
· Page 1 of 1
Return to Strata Help & Feedback