O'Reilly logo

Introducing Microsoft® Office InfoPath™ 2003 by Roger Jennings

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

Disabling Buttons with Conditional Formatting

If a user clicks the Run Query button with an empty Order ID text box, InfoPath displays the two message boxes shown in Figure 13-2 in succession.

Figure 13-2. These two messages appear when you click the Run Query button without an Order ID value

Users receive similar error messages if they submit changes without adding foreign key field values. You can use conditional formatting to disable buttons if specific conditions aren’t met. In this exercise, you’ll disable the Run Query button if a valid Order ID value isn’t present and disable the Submit Changes button if required ...

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