I am using exam package and I would like to add an extension to some solution in the form of a footnote with the same number of the question, as in
\documentclass[12pt, answers]{exam}
\renewcommand{\solutiontitle}{\noindent\textbf{Risposta:}\enspace}
\checkboxchar{$\Box$}
\begin{document}
\begin{questions}
\section{Capitolo 1}
\question
which question am I?
\begin{solution}One \end{solution}
\question
which question am I, instead?
\begin{solution}Two \end{solution}
\question
How do I get the question current number?
\begin{solution} Three \footnote[\questionnumber]{I would like this footnote to be numbered the same as the question} \end{solution}
\end{questions}
\end{document}
Unfortunately, the footnote would not show up at all (as noticed in Latex: \footnote command not working in solution environment of exam package).