I want a few of the most important pre-defined JavaScript methods to present in Adobe LiveCycle Designer.
initialize
is initiated for all objects after the form design is merged with data.
can use this event when you create an object to perform actions that are caused either by a user action to complete the form or in the form creation process. For example, you can control the settings for new instances of a subform object, which adds the user to the form by clicking a button.
Adobe - initialize evententer
Occurs when a field or form part of the keyboard gets focus, regardless of whether this is through user action will cause (change in a field using the tab key or mouse click) or by a script which sets the focus programmatically.
can use this event to provide help text or other messages that facilitate the user to fill in the current field or subform. Suppose to be entered in a field has a value in a specific format, or fill out a field are subject to specific instructions. In this case, you can display a message with this event, which informs the user about the specific requirements.
Adobe - enter eventexit
Dispatched when the field or form part of the keyboard focus loses, regardless of whether this is caused by a user action (change in another field using the tab key or mouse click outside the field) or by a script which removes the focus programmatically.
This event is suitable for verification of field data when the user removes the focus from a field. Suppose to be entered in a field requires a value. In this case, you can use this event to provide a message that alerts the user to point out that the form can be sent only if this field data is entered.
Adobe - exit-eventcalculate
The calculate event is to update numerical values in fields because it is initiated immediately after most other events. For example, you could calculate on an order form with the event for a field, the percentage of the sales tax calculated on the basis of the order cost. The calculation is performed every time you change the values in the form fields. In this way ensures that the displayed value for VAT is always correct.
Adobe - calculate eventvalidate
is initiated when the form design and data to merge and form when a field loses focus, such as when a user clicks or presses the Tab key to exit a field. This event is raised every time the value of a field changes. Using calculations and scripts to validate be placed on the event can be carried out checks, the more specific character than on the Value tab of the Object palette available checks.
can use this event to verify object values. It is particularly suitable for situations where object data must comply with certain rules.
Adobe - validate eventmouseEnter
This event is triggered when the user in completing the Form the pointer moves in the field area, provided, not necessarily the mouse button pressed.
You can combine this event with the event mouseExit to the user when filling out the form to provide visual feedback. For example, you can change this event to the context or background color of an object, so the user can recognize visually when filling out that he is currently in a particular field.
Adobe - MouseEntermouseExit
This event is triggered when the user moves the mouse pointer to complete the form from the field, even if he hold the mouse button holds.
You can combine this event with the event mouseEnter to the user when filling out the form to provide visual feedback.
Adobe - mouse exit eventchange
Dispatched when a user is defined to complete the form the contents of a field with an action changes.
This event is suitable for calculations or scripts that need to be triggered when a user when filling out the form changes the value of a field.
Adobe - change eventMouseDown
is initiated when a user is filling out the form, click pressed while the pointer is in a field.
This event is suitable for the execution of an action after a user clicked a button on the form or has activated a radio button or a checkbox.
Adobe - MouseDown eventclick
is initiated when a mouse is within the range. If a click event for a text or numeric field is raised, calculations or scripts to be executed immediately. The value of the field but will only be changed due to calculations and scripts, when the field loses focus.
This event is suitable for implementation an action after a user clicked a button on the form or has activated a radio button or a checkbox. For example, you can use the click event for a check box form field and hide.
Adobe - click eventdocClose
is at the very end of the processing carried out a form, provided that any form checks were carried out correctly.
This event is not triggered until late and does not alter the saved form. It should rather provide the opportunity to produce an exit status and completion message.
Adobe - DocClose event
0 comments:
Post a Comment