Kirix Support Forums

On Errors form stops working

Please post any help questions, requests or other feedback here.

On Errors form stops working

Postby abenitez77 on Mon Aug 06, 2012 8:49 am

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?
Registered User
Posts: 143
Joined: Fri Jan 21, 2011 12:42 pm

Re: On Errors form stops working

Postby Ben on Thu Aug 09, 2012 5:26 pm

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.


// error-prone code
catch (e)
// this is called if an error happens
Ben Williams
Kirix Support Team
User avatar
Kirix Support Team
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to Strata Help & Feedback