Avatar

Level 10

Hi,

I know, this is a tricky one sometimes and and can cause some scripts to fail too.

The dirty flag has to be resetet in front of any other action you're executing.

The best is to create separate script objects with functions, which are then called from a buttons click:event.

event.target.dirty = false;

MyScriptObject.MyMailToFunction();

If it is ok for you, you can mail me your form, and I will have a look on it.