D
Darren Neimke
I'm just starting to develop InfoPath forms (for fun or profit) and, after
browsing through SDK documentation thought that I'd dive in and see how some
of the Sample Forms are implemented to get ideas about how to build "best
practices" forms.
So, I opened up the Detailed TimeCard form and - being a true programmer
- opened up the js code file in WSE.
Looking at the OnAfterChange handlers you can see that, changes cause calls
through to updateTotals(). There's some code in there which causes the
OnAfterChange handlers to exit if (XDocument.IsSigned) or if
(oEvent.IsUndoRedo).
Shouldn't they also exit if (oEvent.Operation == "Delete"). That's what
you'd normally do right?
browsing through SDK documentation thought that I'd dive in and see how some
of the Sample Forms are implemented to get ideas about how to build "best
practices" forms.
So, I opened up the Detailed TimeCard form and - being a true programmer
- opened up the js code file in WSE.
Looking at the OnAfterChange handlers you can see that, changes cause calls
through to updateTotals(). There's some code in there which causes the
OnAfterChange handlers to exit if (XDocument.IsSigned) or if
(oEvent.IsUndoRedo).
Shouldn't they also exit if (oEvent.Operation == "Delete"). That's what
you'd normally do right?