CHAPTER 9Writing Code in InfoPath

InfoPath's user interface is incredibly powerful—you've seen how to use rules, validations, dynamic sections, and views to create very robust forms. However, there will be things that you cannot do with the standard interface. When you find that the features of the InfoPath form designer aren't enough, you can write script or managed code (C# or VB .NET) behind the form.

Tip While Jscript is supported for coding, it is incredibly limiting—neither browser-compatible forms nor secure forms implementations can use Jscript. In addition, managed code gives you additional options (plugins with VSTO, VSTO form solutions, etc.). It's really just better to stick with managed code for your InfoPath solutions.

There ...

Get Pro InfoPath 2007 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.