Add-ons > Episerver forms > Creating a form > Example: Creating a multi-page job application form

Example: Creating a multi-page job application form [BETA]

The following example shows how to create a form that appears on multiple pages. This is example uses the same form as in Example: Creating a job application form [BETA] except that its steps appear on separate pages. It uses the following elements: Form step, Text, Selection, Text area, Hidden visitor profiling, Hidden predefined value, File Upload, and Submit button.

  1. Create 3 new pages: Page A, Page B, and Page C.
  2. From the Assets pane, select Forms to list the existing form folders.
  3. From a folder's context menu, select New Form and give it a name such as Job application 2.
  4. Drag form elements onto the new form. The following image shows edited elements for the Job Application form.
    • Form Step.
      • Rename to Step 1.
      • On the Settings tab > Display Step in other content. Click Browse and select Page A.
    • Text. Rename to Name with Required.
    • Text. Rename to Email with Tooltip.
    • Selection.
      • Label. Select your job application choice.
      • RequiredEnabled.
      • Choices. Use manual input.
      • Add items
        • Choice: Development ; Value Development .
        • Choice: Engineering; Value Engineering.
        • Choice: Expert Services; Value Expert Services.
        • Choice: Support; Value Support.
    • Form Step.
    • Text area. Rename to Cover Letter.
    • Form Step.
      • Rename to Step 3.
      • On Settings tab > Display Step in other content. Click Browse and select Page C.
    • Hidden predefined value. Enter Job Application in Predefined value.
    • Hidden visitor profiling. Select Geo: Region code.
    • File Upload.
      • Label text. Rename to Upload Resume.
      • Max file size. 4 (MB).
      • Allowed extensionspdf, docx, txt
    • Submit button. Rename to Submit Resume.
  5. Place the Job Application 2 block on Page A, Page B, and Page C and publish the pages.

Test your form

To test your form, go to Page A on the website and enter data into the form on the page in View mode.

  1. Enter a name, email address, select an option and click Next Step.

  2. If you choose Support, then you see the following step on Page B. If you do not select Support, then you see the next step on Page C. Enter text for a cover letter and click Next Step.

  3. Click Choose File and upload a file (pdf, docx, ot txt only). Then click Submit resume. When you submit the data, it is stored in the Episerver Dynamic Data Store (DDSDynamic Data Store; a component offering an API and infrastructure for the saving, loading and searching of compile-time data types (.NET object instances) and runtime data types (property bags). The component is shipped as part of the Episerver Framework package.) .

View form submissions

To view the results of your test, go to your Job Application 2 form block and select Form submissions from the context menu. The Form submissions view appears with data submitted from the form.

You can export form data to XML, CSV, or JSON formats.

back to top




Episerver User Guide update 15-5 | Released: 2015-11-16 | Copyright © Episerver AB | Send feedback to us