O'Reilly logo

Pro InfoPath 2007 by Philo Janus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required