Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4212

Dataform seems to parse OUTput of a textaerea field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 2.4.2
    • Module: Dataform
    • None
    • MOODLE_24_STABLE

      Target is to enlarge pictures. I am working with js. So I implemented following code:
      <code>
      <script src="LINK_TO_modal.js" type="text/javascript"></script>
      <p><input type="button" id="show" value="Show panel" /></p>
      <div id="modalContainer">
      <div id="modalPanel">
      <div class="hd">Moodle</div>
      <div class="bd">Moodle (abbreviation for Modular Object-Oriented Dynamic Learning Environment) is a free and open-source e-learning software platform, also known as a Course Management System, Learning Management System, or Virtual Learning Environment (VLE). As of October 2010 it had a user base of 49,952 registered and verified sites, serving 37 million users in 3.7 million courses. </div>
      <div class="ft">[Footer]</div>
      </div>
      </div>
      </code>

      Output removes some tags (i.e. input tag, some div definitions; but they are stored in the mysql database).

      Same test with i.e. a moodle textpage is working properly.

      Before I tried with directly embedded js-code in data form using the js-tab. But I did not get it to work either.

            itamart Itamar Tzadok (Inactive)
            aid-academy Ivo Mynter
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.