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

JavaScript functions like setValue() should have access to .date and .accessionNumber even if the fields are not displayed

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Code Review (Initial)
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: HTML Form Entry 3.13.0
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      if the additional fields, like date and accessionNumber are not displayed on the form, you get an error if you try to setValue(). The error is...

      Form scripting error: no property accesser info available for poliodate0.date

      Currently they must be displayed on the form by adding showDate="true" and/or showAccessionNumber="true" to the <obs> tag. It would be great if JavaScript could set these fields without them being visible on the form.

        Gliffy Diagrams

          Attachments

          1. err.png
            err.png
            198 kB
          2. err.png
            err.png
            198 kB

            Activity

              People

              Assignee:
              aman Aman Mishra
              Reporter:
              arbaughj James Arbaugh
              Designated Committer:
              Daniel Kayiwa Daniel Kayiwa
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks, 1 day
                  2w 1d