Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.12.01, 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      When a from widget has the attribute of skip-start="true", the javascript creation references the incorrect DOM object.
      ie
      <form name="beginForm" type="single" skip-end="true>

      </form>
      <form name="middleForm" type="single" skip-start="true">
      <field name="date"><date-time/></field>
      </form>

      will result in the creation of the following
      javascript call: javascript:call_cal(document.middleForm.date,''); should instead be:
      javascript call: javascript:call_cal(document.beginForm.date,'');

      or even better the super form name should be a variable.

      The second option would require an additional attribute in the form definition.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jacques.le.roux Jacques Le Roux
                Reporter:
                cjhowe Chris Howe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: