-
Book Overview & Buying
-
Table Of Contents
IBM Lotus Domino: Classic Web Application Development Techniques
By :
Using hidden computed fields on a form is an easy way to provide information to @formulas and JavaScript that run in support of a form. Normally, hidden fields are collected at the top or the bottom of a form. Since some fields depend upon others, the order of fields on the form may be important, with dependent fields positioned after independent ones.
Hidden fields serve many purposes. Here is a sampling of how these fields can be used.
Some document attributes can be retrieved by invoking @functions in formulas. There are, however, situations in which you cannot rely on @functions and formulas to return the correct information.
For example, the name of the form used to create a document is not available until after the document has been saved. If the name of the form is important to either a form formula, some JavaScript, or an agent invoked by the WebQuerySave event, then create a hidden Computed when composed...
Change the font size
Change margin width
Change background colour