Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you are making custom forms and you perform an update of a field using javascript or jQuery, the Forms inMotion application level listener is not made aware of that change in all browsers.  The easiest way to let Forms inMotion know that you've changed field values programmatically is by forcing a call to the Forms_inMotion API.  That one parameter call is shown below:

Step-by-step guide

  1. This is called using the same integration as the Query API (Using the Query API) the Forms_inMotion function.  That function will be injected into your form at load time.

    Code Block
    languagejs
    linenumberstrue
    Forms_inMotion("elementdataupdate");


Filter by label (Content by label)
showLabelsfalse
max5
spacesFIMKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "api" and type = "page" and space = "FIMKB"
labelsapi

...