Main administration page || status || Modify tasks || Display content in: Box 1 | Box 2 | new window | textBox
View the components of a dSurvey instrument (details)
You can use this utility to view and modify a variety of files that define a dSurvey instrument.
The viewer components will "parse" the files, giving you a structured view. For example, SPEC files will be broken into sections and groups, with links to USE and CALL attributes.

The edit components are two-fold. You can edit the actual XML file code in a textarea box, or you can edit individual sections (such as a <do> in a control panel file). This editing can be done byeither by directly typing, or by pasting content from some other file.
That is, there are no special aids (i.e.; there is no dynamic checking for structure). However, once you save your changes, proper XML is checked for: you can not save a file with bad XML syntax!

Note: these utilities only work with instruments created with the Create & modify an instrument utility.

Modify components of an existing instrument. | After selecting an existing instrument, you will then be able to modify several of its files; including the control-panel program, the SPEC file, the SPEC elements file, and the modules file. Note: this utility is designed to work with instruments created with dSurvey's create an instrument option. That is: for instruments custom created, this utility will not work very well.

`with a 1-word name of:`
`in the 1-word project:`
(display current instruments)
Name of selected instrument here ...
`current task here ...`

#### What would you like to do?

Control Panel Program | View a control-panel program Modify control-panel program
SPEC files & module files | View SPEC, module, etc. files Modify SPEC, module, etc. files
Backup files | Retrieve, or delete, a backup file (for a SPEC or Module file)
Parameter files | Modify a parameters file (params || reference || allowed users) (edit the actual file)
Library files | Modify a css or js library file (edit the actual file)

Backup name: Preview before saving? Find: ...
view/hide current status ... (0 actions completed, ... most recent:

#### Result of instrument file modification

The `instrument_First_Page` section is the first non-generic page of your instrument -- it is the place where you (the instrument designer) specifies what to show pariticipants, and where to go to next.
Often, this first page may show a simple message (such as Welcome!), and immediately (or as soon as the administrator is ready) go to some other section.
However, it is often convenient to check for a few conditions in this first page, such as whether the browser has been reloaded (say, while the participant is in the middle of a session).

Would you like to start with (in the text box) ...
- A simple template (immediately goto next section)?
- A simple template (show content, hit button to goto next section)?
- A template that checks for rejoin/browser_reload
writeAlert('Rejoining session. The current round is ' $+ nowRound,5) writeStatus('Rejoining session. The current round is ' $+ nowRound) justRejoined=1 add your own variables here initialize variables here Updating history ....
enter a list of modules here
New sections can contain a number of attributes, such as Events and Modules.
Would you like to ...

- start with a template or add a group (to the end of the text box)

- Insert a ... | EXEC event | BUTTON event
  | TIMER event | QUERY event

- Insert an event action ... | all event actions | call | submit | recoverPrior | popup | display
  | update | goto | next | stop | break | if

equations short string valid XHMTL list of modules
short string valid XHMTL list of modules
equations nameVar = survey_global_var Window title Window attributes list of ids xhtml content
<*call> equations
nameVar = survey_global_var
Window attributes
list of ids
xhtml content