The Button Control

Button controls are likely to be familiar to you from HTML forms. Button controls in InfoPath have a useful OnClick event, as scripting code can be written to respond to that event. They are therefore very important controls in InfoPath 2003, because no other form controls have an associated event that responds directly to user interaction. The General tab of the Button Properties window contains the most important properties.

From the Action drop-down menu, select whether you want the button control to submit the data, or whether you want to add script code to the button control.

USE FRIENDLY SCRIPT IDs ON BUTTON CONTROLS

The default script IDs offered on button controls are pretty meaningless to the human eye. For example, ...

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.