Changing the visual appearance of checkboxes and radio buttons

This first example includes three sets of scripts, to change the visual appearance of checkboxes and radio buttons. You can mix and match these solutions to suit your requirements. The second example was added in October, to provide a more efficient way of dealing with radio buttons. The script is generic and can be dropped [...]

Read more

Checking for null values prePrint

This example provides a generic solution that loops through a page and if all of the objects are null, then it will not print that page. If any of the objects have a value, then the page will be printed. Again, this demonstrates the advantages of using a function (in a script object), which contains the main [...]

Read more

Detecting key presses

This example demonstrates how you can detect if the user is pressing certain keys. For example the Control key or the Shift key. In addition you can detect how the user has committed a value to a field. These methods can be used to react to the users actions. Check out the examples in the [...]

Read more

Form variables

John Brinkman describes form variables in his post, covering all of the various options: Creating variables in the File > Form Properties > Variables tab. Creating a form variable in JavaScript. I wanted to explore a use case where form variables associated with a particular field would be useful. As an example here is a form where [...]

Read more

Hiding null objects

This example uses a function in a script object to work through the form and set the presence of null objects to hidden. The example also demonstrates the difference between positioned and flowed subforms, as the objects are hidden. Download: Assure Dynamics Hiding null objects

Read more