diff --git a/source/how-tos/app-development/interactive/form.rst b/source/how-tos/app-development/interactive/form.rst index 1ddf0b11..9e79c6bb 100644 --- a/source/how-tos/app-development/interactive/form.rst +++ b/source/how-tos/app-development/interactive/form.rst @@ -222,6 +222,21 @@ auto_modules_ attributes: auto_modules_matlab: default: false + + To filter versions that show up in the drop-down list, you can use a Ruby regex (https://rubular.com/) + (without the wrapping `//`) or a string: + + Regex: + .. code-block:: yaml + attributes: + auto_modules_matlab: + filter: (intel|gnu)\d* + + String: + .. code-block:: yaml + attributes: + auto_modules_matlab: + filter: intel See :ref:`the module directory configuration ` on how to enable the cluster module files that need to be read.