XForms event handler

Vote:
 

Hi Guys,

Could anybody tell me whether it is possible within a BeforeSubmitPostedData event handler to loop through all the fields within an XFom and retreive the CSS property defined upon it?

Many thanks

Matt

#31467
Jul 31, 2009 15:49
Vote:
 

That's a part of the form definition, so you can find that at any time. One way could be to look at the XForm.InstanceRoot property which will be the root element of the XML containing both the model and the Xhtml layout (which should contain your CSS class). Maybe there's a simpler way too.

#31473
Aug 01, 2009 9:44
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.