Generate HTML Form

After adding the survey fields, generate the HTML form for the survey. Generating the HTML allows you to preview the survey to review the fields you added. If you need to add or change the fields, return to the Define Fields window, make changes, and generate the HTML again.

When you are satisfied with the survey's content, save the HTML form. After saving the file, you can edit the file, change the layout, and add text as needed. However, do not change or edit any hidden fields that were automatically generated.

Follow these directions to generate the HTML.

  1. From Connect, click the Survey tab. The list of surveys appear.
  2. From the survey list, click the survey you want. The Survey: XXX window appears with the Info tab active.
  3. Click the Fields tab. The list of fields appear.
  4. From the Fields window, click Commands > Export HTML. The HTML is downloaded. (NOTE: The file is downloaded with a JSP extension.)
  5. Save the file. You can keep the JSP extension or save it with an HTML extension.
Note: By default, the survey is saved in the 'www' sub-folder under EMA's deployment folder. For example, when EMA is deployed in WebSphere, the survey JSP file is saved in <WEBSPHERE_HOME>/installedApps/< machine_name>/< EMASITENAME> .ear/<EMASITENAME> .war/www folder where <WEBSPHERE_HOME> is generally /usr/WebSphere/AppServer. On the other hand, Employee Surveys are saved in the 'cc' folder. You need to specify the relative URL location for Employee Surveys. Example: "../cc/<employee_survey_file>.jsp".