Global Change Event

J

J_A_Z_Z

Does anyone know if there is a good way to tell if a field value on a
form has changed, with out using onAfterChanged for every field?
IsDirty isnt going to cut it, neither is onContextChange.
I got it to work by using a XPath match="//*" to catch all of the
field changes, but it also catches the changed node being bubbled up
to the root node, which happens twice, one for insert and delete.
Since I am wanting to change a field inside the event, It gets called
way too many times.

Any good ideas?
 
J

J_A_Z_Z

What Im trying to do is clear a ink signature whenever a field is
changed.
There are ~150 fields on the form. So there are only 3 fields that Im
NOT going to check(which are excluded in my x-path match). So using a
switch statement would be a bit cumbersome. The problem is that since
im changing a field's value inside on this function, it get called
twice as much. My schema is very nested so it very easily calls the
function too many times and throws an error, and since it goes into
the function before it hits any conditional code to bump it out, it
still counts as a call.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top