\documentclass{article}
\usepackage{xltxtra}
\usepackage[bloc,completemulti]{automultiplechoice}
\usepackage{multicol}
\setmainfont{Linux Libertine O}
\begin{document}
\AMCrandomseed{1527384}
\onecopy{5}{
\begin{minipage}{.47\linewidth}
\end{minipage}\hfill
\begin{minipage}{.47\linewidth}
\namefield{\fbox{\begin{minipage}{.9\linewidth}Name and surname

\vspace*{.5cm}\dotfill
\vspace*{1mm}
\end{minipage}
}}\end{minipage}\vspace{4mm}

\vspace{4mm}\noindent\hrule


}
\end{document}
