Skip to main content
Participant
June 20, 2017
Question

Execute js in development mode (GIFT import)

  • June 20, 2017
  • 1 reply
  • 148 views

I am importing question text in using the GIFT method, but I am having to spend too much time formatting the question textbox after the import... I would like to do one of the following and would appreciate any help:

1. Find out why the UTF-8 text file will not bring in html tags during the import like moodle does.

::Title

line 2

Name $$Pt1LastName$$::

[html]While in the hospital <b>you</b> are called by...

_______________________________

Navigate to your "Patient List"

_______________________________

Question 1

In what bed is your patient located?

{

=TRNOB

~B-5

~TRNOO

~TRNBO

~ZZ000

}

2. Use an internal .js function to execute the formatting with some action in the captivate development mode (before any publishing takes place).

or 3. create an xml doc that will display the formatted text at run time.

I would rather use option 1 or 2 before I try option 3

Thanks in advance!

This topic has been closed for replies.

1 reply

TLCMediaDesign
Inspiring
June 29, 2017

You cannot execute JS in development mode,