Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-525

Support not displaying an obs group tag in view mode if no data was entered

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HTML Form Entry 2.4
    • Labels:
      None
    • Complexity:
      Medium

      Description

      Since we don't have good support for dynamic repeated sections, a common workaround on HTML Forms is to put a large fixed number of repeats of a section that is "more than enough".

      E.g. something like this:

      <repeat with="['1'],['2'],['3'],['4'],['5'],['6'],['7'],['8']">
          <obsgroup groupingConceptId="PIH:9070">
              ...
          </obsgroup>
      </repeat>
      

      It would be great if you could do something like the following, so that in view mode the obsgroups left blank are not displayed:

      <obsgroup showIfEmpty="false">...</obsgroup>
      

        Attachments

          Activity

            People

            • Assignee:
              darius Darius Jazayeri [X] (Inactive)
              Reporter:
              darius Darius Jazayeri [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d