Skip to content

Instantly share code, notes, and snippets.

@fivethreeo
Created October 8, 2015 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fivethreeo/d6ba0ffe93da5bfb7afb to your computer and use it in GitHub Desktop.
Save fivethreeo/d6ba0ffe93da5bfb7afb to your computer and use it in GitHub Desktop.
\documentclass[a4paper,norsk,12pt]{article}
\usepackage{amssymb} % needed for math
\usepackage{amsmath} % needed for math
\usepackage[utf8]{inputenc} % this is needed for german umlauts
\usepackage[norsk]{babel} % this is needed for german umlauts
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
\usepackage[margin=2.5cm]{geometry} %layout
\usepackage{hyperref} % this is needed for forms and links within the text
\hypersetup{
pdfauthor = {\O{}yvind Saltvik},
pdfkeywords = {\O{}yvind Saltvik, datakortet nettkurs},
pdftitle = {Bestilling av kursplass}
}
\begin{document}
\title{Bestilling av kursplass}
\author{\O{}yvind Saltvik}
\date{\today}
\begin{Form}[action=mailto:nettkurs@3kanten.it,encoding=html,method=post]
\begin{tabbing}
xxxxxxxxxxxx: \= \kill % This is needed for the right tab width
Kurs: \> Datakortet nettkurs \\ \\
Fylke: \>
\ChoiceMenu[combo,name=fylke,width=5cm,charsize=12pt,default=Oslo]{\mbox{}}
{Akershus,Aust-Agder,Buskerud,Finmark,Hedmark,Hordaland,M\o{}re og Romsdal,Nordland,Nord-Tr\o{}ndelag,Oppland,Oslo,Rogaland,Sogn og Fjordane,S\o{}r-Tr\o{}ndelag,Telemark,Troms,Vest-Agder,Vestfold,\O{}stfold} \\ \\
Vi \o{}nsker med dette å bestille kursplass for: \\
Fornavn: \> \TextField[name=fornavn,width=3cm,charsize=12pt]
{\mbox{}}
Etternavn: \TextField[name=etternavn,width=3cm,charsize=12pt]
{\mbox{}} \\ \\
Adresse: \> \TextField[name=adresse,width=9cm,charsize=12pt]
{\mbox{}} \\ \\
Postnr: \> \TextField[name=postnr,width=3cm,charsize=12pt]
{\mbox{}}
Sted: \TextField[name=sted,width=3cm,charsize=12pt]
{\mbox{}} \\ \\
Telefon: \> \TextField[name=telefon,width=3cm,charsize=12pt]
{\mbox{}}
Epost: \TextField[name=epost,width=3cm,charsize=12pt]
{\mbox{}} \\ \\
Windows versjon: \>
\ChoiceMenu[radio,name=windows,charsize=14pt]{\mbox{}}
{{Windows 7}=windows7,{Windows 8}=windows8,{Windows 10}=windows10} \\ \\
Office versjon: \>
\ChoiceMenu[radio,name=office,charsize=14pt]{\mbox{}}
{{Office 2007}=office2007,{Office 2010}=office2010,{Office 2013}=office2013,{Office 360}=office360}
\end{tabbing}
\renewcommand\LayoutCheckField[2]{#2 #1}
\CheckBox[name=modul1,charsize=12pt]{Datakortet (AMO), Modul 1, 7 dager - grunnleggende IT forst\aa{}else} \\ \\ \\
\CheckBox[name=modul2,charsize=12pt]{Datakortet (AMO), Modul 2, 7 dager - operativsystemer} \\ \\
\Submit{Submit}
\Reset{Clear}
\hfill ~
\end{Form}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment