For the complete documentation index, see llms.txt. This page is also available as Markdown.

Advanced condition editor

The editor does not require entering the prefix "js:" and it will not display it in conditions. The prefix will be automatically added in the source when the changes are saved.

Introduction

The advanced condition editor is a special editor designed to streamline the form designer's work. It has been equipped with the following features:

  • syntax highlighting,

  • displaying variable and field name hints while editing conditions,

  • displaying eximee API hints while editing conditions.

Figure 1. Example conditions in the component properties palette

Occurrences

Three component attributes in Eximee Designer use this editor. They are:

  • visibility condition,

  • activity condition,

  • requirement condition.

Figure 2. Advanced condition editor - editing the visibility condition

Syntax hints

The editor suggests eximee API elements and frequently used JS methods to the user. Editor hints can be seen by clicking the Ctrl + Space key combination. This will expand the list of elements, among which the following can be seen:

Standard JS methods and fields:

  • parseInt()

  • parseFloat()

  • .length

  • size

  • empty

API provided by eximee:

  • getValue()

  • getData()

  • isVisible()

  • getStatementValue()

Figure 3. Advanced condition editor - expanded list with syntax hints

Additionally, the hints will include the components' MIDs (with their IDs in parentheses) and the names of session variables present in the application.

Figure 4. Advanced condition editor - view of hints for components located in the artifact
Figure 5. Advanced condition editor - view of filtered component hints

Example conditions

Last updated

Was this helpful?