Null patterns for text fields and other objects
This example demonstrates a number of different applications for null patterns in form objects. This is where a field without a inputted value can display a default message. Note that having the full caption in the value area is not best practice. This is because as soon as the user clicks into the field the null pattern [...]
Read morePopulating dropdowns
This example shows how to use the preOpen event in a dropdown. This is the ideal event to use when dynamically setting the items that are available in the dropdown list. The script can be set to look at the values of other objects in the form and then populate the dropdown list based on these values. [...]
Read moreResetting Rich Text Fields
A problem exists in earlier versions of Acrobat/Reader when using rich text fields within an XFA Form. If the user deletes text from a rich text field; saves the form; and then closes it; when they reopen the form the original text will be restored to the rich text field. This is obviously not ideal [...]
Read moreScript to change the focus
This example demonstrates that script can be developed to change the focus of the current field based on events. While this can be achieved using fairly straightforward script, it is probably not the best approach. This is because the user may not be aware that the focus has changed, whilst in the process of inputting [...]
Read moreShowing and hiding pages
This example demonstrates the presence property. Objects can be set to ‘visible’ and ‘hidden’. The hidden value has an advantage over ‘invisible’, as it excludes the object from the form, thus allowing other objects to take its space. This requires the form to be saved as a Dynamic XML form. Download: Assure Dynamics Show and [...]
Read more