Norwegian version of this page

Embed a Nettskjema form on a website

In Nettskjema, it is possible to download all submitted responses to a form as a file. This file can be imported into, for example, Excel, SPSS, or Stata for further data processing and analysis.

Setup

Step 1: Prepare the form

  1. Make sure that the form you want to embed on the website is Open for responses.

  2. Make sure that the response permission for the form is set to Without login – anyone with the link.

    Image from Nettskjema showing the “Who may answer the form” option, with a red circle around “Without login – anyone with link”.

Step 2: Find the code snippet

To embed a form, you need an HTML code snippet that you paste into the website.

  1. Go to the Collect responses tab in Nettskjema to find the code snippet to add to the website where the form will be displayed.

    There are two code snippets:

    1. Code snippet for Vortex displays HTML code specially adapted for publishing within UiO’s Vortex CMS.
    2. Code snippet for website provides general HTML code to use for all other publishing.
    Image from the Nettskjema “Collect responses” tab, with a red circle around the “Embed on website” box.
  2. Click Copy code snippet for the HTML code that applies to your situation.

Step 3: Embed the form on the website

Embed on a UiO website

  1. Go to the relevant Vortex page.
  2. Click Manage document and open Edit. See how to edit Vortex pages.
  3. Find the appropriate place in the document where the form should be displayed.
  4. Click the Source button in the editing menu for the field you are in to display the field’s content as HTML code.
  5. Find the appropriate location in the source code where the form should be displayed, and paste in the code snippet.
  6. Click Save and view. You will then see a preview of the page with the form.

Only the form itself and the contact address are displayed on the webpage. The form will appear with the Vortex layout, so you may add a title, introduction, and explanatory text in Vortex. See the dedicated Vortex help pages.

Embed on another website

This is generally done in the same way as for UiO websites, but you must use the method and tools appropriate for your website.

Embed Nettskjema in Canvas

There are two ways to add it in Canvas: either as a page or as part of a module.

Page

To embed a Nettskjema form in a Canvas page, paste the code snippet where you want the form to appear.

  1. Open and log in to Canvas.
  2. Go to the Pages tab and click the plus button to create a new page.

    Image from Canvas, with a red circle around the “Pages” option in the side menu.
  3. Edit the page where the Nettskjema form will be embedded as usual. Then find the exact place on the page where you want to add the form.
  4. Click the code icon to open the source-code view.

    Image from the Canvas page view, with a red circle around the “source view” icon.
  5. In the page source-code view, find the location in the text where the form should be inserted. Paste in the code snippet you copied as instructed above.

    Both Code snippet for Vortex and Code snippet for website work here.
    Image from the Canvas page view with source view enabled, showing the HTML snippet from Nettskjema pasted into Canvas.

  6. For better display, you should also add height="750" after width="100%".

    Image from the Canvas page view with source view enabled, showing the HTML snippet from Nettskjema pasted into Canvas.

Module

  1. Open and log in to Canvas.
  2. Go to the Modules tab and click the plus button to create a new module.

    Image from Canvas, with a red circle around the “Modules” option in the side menu.
  3. Click the plus icon in the new module to add an item.

    Image from Canvas, with a red circle around the plus sign for adding new content to a module.
  4. In the dialog box that appears, choose to add an External URL. The URL should be src=*Nettskjema link*.

    Image from Canvas when creating a new page with an external URL.

    After adding the page name and optional indentation, click Add Item.

 

Search the user manual
 
Contact support

Call us

Opening hours are weekdays from 08:30 to 17:00 and Saturdays from 10:00 to 15:00.

Phone number: 22 84 00 04

Register case

Your request can be sent to it-hjelp@uio.no.

Send email

Book a Zoom meeting

Students and employees can book a Zoom meeting with UiO Helpdesk. Available hours are Tuesday to Thursday between 11:00 and 13:00.

Book a video call

Chat with us

Our chat is open every weekday between 09:00 and 16:00.

Start chat
Did you find what you were looking for?
Published Oct. 7, 2026 3:34 PM - Last modified Oct. 7, 2026 3:34 PM