Skip to content

Access labels of form #87

@signalwerk

Description

@signalwerk

I don't know if this is a feature request or a support-question. Please forgive me if it's the later one.

I have the following element in a form built by form-builder:

  • Multiple Select (Checkboxes) – identifier: multi
    • Options
      • Option A – value: option-a – label: a very elaborate text here for A
      • Option B – value: option-b – label: a very elaborate text here for B

In my Email Finisher I can now use:

<f:for each="{form.formState.formValues.multi}" as="item">
  <f:if condition="{item} == 'option-a'">
  – a very elaborate text here for A
  </f:if>
  <f:if condition="{item} == 'option-b'">
  – a very elaborate text here for B
  </f:if>
</f:for>

This is somewhat unpleasant because I have to repeat every option with its text in the finisher. Is there a way to get the labels in the finisher, so I can place them somehow dynamically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions