Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-19648

Introduce field ID for "Display Value" form fields to be consistent with other form field types

    Details

    • Bug Priority:
      Category 3
    • ACT Numbers:

      00870934

      Description

      Summary
      At the moment, "Display value" form fields are the only field type where one cannot define/overwrite a form field ID, which makes it impossible to access the display value field by ID in the DOM of a form.

      Steps to reproduce
      1. Via App Designer create a simple process: start event->user task->end event
      2. In start event add a form with a text field "mytext"
      3. In the user task add a form with a display value field and display the value of field "mytext"
      NOTE: You cannot define a field ID for the display value field
      4. Create a process app with the designed process, publish it and lauch the process
      5. In the start form, fill in some value for "mytext"
      6. Using HTML inspector in browser tools, inspect the display value form fieldĀ“s HTML code

      Current behaviour
      The display value field does not provide an ID and is not accessible in the forms DOM.

      Expected behaviour
      As all other form fields have IDs by default and the ID can be defined/overwritten, also the display value field should have an ID.

      Business case
      "We use the JSON object of the form and parse it. For that we require the id of the fields. As a user, we should know what is the ID of the field so that i can use its value in script task or any other place."

      Supporting evidence
      Reproduced current state in APS 1.6.2

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  dgruber Doug Gruber
                  Reporter:
                  dkoch Dennis Koch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Structure Helper Panel