Can I capture changes on the Section Level ?

G

G. Tarazi

Hi, this is a problem that I ran into today



I have a long InfoPath form, divided to about 25 to 30 sections (still under development, some sections may go or merged with other sections), each section have between 10 to 50 controls or sub sections, the form is submitted to a web service, and the web service is splitting the data internally to multiple dll files for processing.



Until here everything is working fine, my problem is how can I have something like "On Change" event on the entire section, for example, if a text box is in a section, and the end user modified this text box's contents, the event will get triggered on the section itself, not on the text box :) "this will reduce our coding"



I am using Microsoft InfoPath 2003 Service Pack 1 with Microsoft C#.NET



Thank you
 
G

G. Tarazi

I just fixed it my self :) capturing the section event was similar to the text box events, and that is cool :)


"G. Tarazi" <Tarazi (at) LiveTechnologies.ca> wrote in message Hi, this is a problem that I ran into today



I have a long InfoPath form, divided to about 25 to 30 sections (still under development, some sections may go or merged with other sections), each section have between 10 to 50 controls or sub sections, the form is submitted to a web service, and the web service is splitting the data internally to multiple dll files for processing.



Until here everything is working fine, my problem is how can I have something like "On Change" event on the entire section, for example, if a text box is in a section, and the end user modified this text box's contents, the event will get triggered on the section itself, not on the text box :) "this will reduce our coding"



I am using Microsoft InfoPath 2003 Service Pack 1 with Microsoft C#.NET



Thank you
 
S

sikael

how did you get the event for a section? What I did was just the section name say SECTIONNAME::OnBeforeChange and with no luck...

thanks in advance....
 
S

Steve van Dongen [MSFT]

how did you get the event for a section? What I did was just the section name say SECTIONNAME::OnBeforeChange and with no luck...

Bring up the Data Source in the task pane, if it's not already there.
Right click on a node and select Properties.
Switch to the Validation and Event Handlers tab.
Select an event.
Click on the Edit button

Regards,
Steve
 
Top