The following example shows multiple steps to create a job application form. In the first step, the visitor enters their name and email address and selects a job type to apply for. If the visitor selects the job type Support, a second step is displayed where they can enter some additional information. Visitors who select any other job type are taken directly to step three, where they can upload a resume. It uses the following elements: Form step, Text, Selection, Text area, Hidden visitor profiling, File Upload, and Submit button.
- From the assets panel, select Forms to list the existing form folders.
- From a folder's context menu, select New Form and give it a name such as Job application.
- Drag the following form elements onto the new form container. Change the elements as follows (add your own Placeholder text) and publish each element:
- Form step – Label the form element Step 1.
- Text – Label the field Full name and select the Required checkbox.
- Text – Label the field Email and add a tooltip.
- Selection – Adjust the settings of the form element as follows:
- Name the element: Job type
- Label text: Job type
- Select the Required check box.
- Under Choices, select Use manual input and add the following items:
- Choice: Development; Value Development
- Choice: Engineering; Value Engineering
- Choice: Expert Services; Value Expert Services
- Choice: Support; Value Support
- Form step – This form element inserts a conditional step only displayed if the visitor selects the job type Support.
- Label the form element Step 2.
- On the Settings tab, make the following adjustments:
- Only display if field: click Browse [...] and select Job type.
- value...: select Equals.
- the following value: enter Support.
- Text area – Label the form element Cover Letter.
- Form step – Label the form element Step 3.
- Hidden visitor profiling – Select Geo: Region Code. This field is used for internal purposes only and is not displayed to the visitor. Optimizely will log where each visitor (who fills in the form) is located.
- File Upload – This form element inserts a file upload functionality where you control which types of files and file sizes the visitor is allowed to upload.
Adjust the settings of the form element as follows:
- Label text: Upload resume. Allowed file types: PDF, DOCX, TXT.
- Max file size: 4 (MB).
- Allowed extensions: pdf, docx, txt
- Select the Required check box.
- Submit button – Label the button Submit resume.
- Select All Properties view and select the Show Navigation bar if the form has multiple steps check box.
- Publish the form container.
- Drag and drop the Job Application form onto a web page and publish the page.
Test your form
To test your form, go to the page on the website and enter data into the form on the page in View mode.
- Enter a name, and email address, select a job type, and click Next.
- If you choose Support, then you see the following step. If you do not select Support, skip this step and go to the next step. Enter text for a cover letter and click Next.
- Click Choose File and upload a file (pdf, docx, or txt only). Then click Submit resume. When you submit the data, it is stored in Optimizely.
View form submissions
To view your test results, go to your Job Application form and select Form submissions from the context menu. The Form submissions view displays data submitted from the form.
Please sign in to leave a comment.