Author Archive: Drew Brazil

How to exclude objects on a master page from the tabbing order sequence

When customizing the tabbing order sequence between objects on a form, you may sometimes want to exclude certain objects on the master page from the sequence, but without using the Protected option on the Value tab to do so.

You can do this by applying a setFocus method on the objects you want to exclude. The script excludes an object by changing the focus to the next object in the sequence. That is, when you tab to an object on which the setFocus script is applied, the script automatically executes and moves the focus to the next object.

For example if you have a Button object on the master page that is not protected, you can apply the following JavaScript on the onEnter method.

xfa.host.setFocus(this.parent.nextButtonInTabSq);

Keep in mind that the setFocus method configures the object to always jump to the scripted target; the object will no longer be included in the tabbing order displayed on the Tab Order palette.

To learn more about Scripting, go to the LiveCycle Designer ES Help and search for Scripting.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

How to exclude objects on a master page from the tabbing order sequence

When customizing the tabbing order sequence between objects on a form, you may sometimes want to exclude certain objects on the master page from the sequence, but without using the Protected option on the Value tab to do so.

You can do this by applying a setFocus method on the objects you want to exclude. The script excludes an object by changing the focus to the next object in the sequence. That is, when you tab to an object on which the setFocus script is applied, the script automatically executes and moves the focus to the next object.

For example if you have a Button object on the master page that is not protected, you can apply the following JavaScript on the onEnter method.

xfa.host.setFocus(this.parent.nextButtonInTabSq);

Keep in mind that the setFocus method configures the object to always jump to the scripted target; the object will no longer be included in the tabbing order displayed on the Tab Order palette.

To learn more about Scripting, go to the LiveCycle Designer ES Help and search for Scripting.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

Creating a Simple Calculation with FormCalc

You can use the FormCalc scripting language to quickly add basic calculations to a form. Adding basic calculations to a form enhances the form-filling experience by eliminating the need for users to manually calculate values by hand, and helps to reduce data entry errors.

This video clip shows you how to add an arithmetic funtion to an object to perform a basic calculation. Thanks again to Lauren McGuire-Wood, our summer intern, for creating it!

Play clip

To learn more about using FormCalc, go to the LiveCycle Designer ES Help and search for FormCalc.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 2.0/10 (1 vote cast)