JSON Forms for Drupal is an implementation of the JSON Forms specification for Drupal.
In this implementation there are some custom features and keywords not specified in standard JSON Forms. (TODO: Not all additional possibilities are described here, yet.)
The Keyword descriptionDisplay
in Control options allows to specify the
display of the description. Possible options:
after
before
invisible
tooltip
The first three options are standard options available for the
#description_display
in Drupal.
The option tooltip
leads to an additional CSS class on the description
element: json-forms-description-tooltip
. This can be used to process it
with another module to display the description as tooltip.
With the module Form Tips it can be achieved with this CSS selector:
:not(.json-forms-description-tooltip)
Some things cannot be done with (standard) Drupal forms, e.g. Rules cannot completely be mapped to conditional form fields.
TODO: Describe all limitations.