Application in Action (continued)
- When a question is inputted and saved, the completed question
is shown in the redrawn page, along with a form for the next question
- Notice that the user now has the choice:
- modify the survey title
- modify an existing question,
- fill in input for the new question, or
- quit the application
- The "quit" button is repeated with every "modify"
choice, which allows consistency and easy access whenever the user is done
entering survey information:

- If the user selects "modify question" in the above
form, the following form is produced:

- Notes on the coding and layout of the editable views of the
survey shown above:
- For a new question added at the end:
- The existing survey is drawn as an HTML table
- The "new question" function draws another
HTML table with the same width for the new question input
- For a "modify question":
- The "new question" function is inserted
in the proper sequence to also be used in for editing the question
to be modified
- The exisiting inputs for question text and list box
choice are input provided as parameters to the "new question"
function
- The existing survey is split into two HTML tables
with the question to be modified inserted as a third table in between