OnAfterChange not working

OnAfterChange not working

Post by foomonke » Sat, 28 May 2005 23:13:46


I have an InfoPath form that is the basis for two different Sharepoint
forms libraries. I have "Published" the form to each library. The form
has an event handler (OnAfterChange) setup on one of the fields.

If I create a document in the first library, the event handler fires
correctly. If I create a document in the second library, the event
handler fires correctly. If I create a document in the first library
and move that document to the second library, the event handler does
not fire.

I have updated the processing instruction in the XML instance document
before moving the file and it still does not work.

Any ideas why the event handler does not fire in this instance?

Thanks.
Andrew
 
 
 

1. Windows XP key not working,Outlook not working, does anything MS makes works ?

2. OnAfterChange

I have a text field in my form. I want to display the number of characters
in the field directly above it -- this number obviously changes each time the
user types in the field. The character count will be stored as an attribute
of the current node. I've found that when the OnAfterChange event fires for
the text field, and I calculate the number of characters and call
eventObj.Site.setAttribute( "my:length", eventObj.Site.text.length );, the
OnAfterChange event fires again. This repeats until an error message appears
indicating that the maximum number of recursive calls has been made. I
assume I'm just going about this the wrong way. Any suggestions?

3. Onafterchange event is being fired twice

4. OnAfterChange event failing in 2nd repeating section

5. change value of boolean in onafterchange event handler

6. VBscript error for script on OnAfterChange Event

7. Erro in OnAfterChange event

8. OnAfterChange failing in inserted section

9. Option Button, Repeating Section, onAfterChange?

10. When do I use OnAfterChange or OnBeforeChange?

11. maximum number of calls to the OnAfterChange event

12. OnAfterChange firing multiple times after query with repeating

13. Repeating groups and onafterchange c#