# How to insert < and > in when using hyperref package?

My code is here:

\documentclass{article}
\begin{document}
\begin{Form}
\renewcommand*{\LayoutCheckField}[2]{#2 #1}
We want to build up a statistical model to predict tution fees of students. We will use these information to build up the model. Your privacy must be ensured. Please help us for developing the model by giving your information mentioning below-\\\\

\TextField[name=name,align=0]{Name:}\\\\
\TextField[name=hsscCollege]{HSC College:}\\\\
\TextField[name=homedistict]{Home District:}\\\\
\TextField[name=familymembers]{Family members:}\\\\
\TextField[name=earningmembers]{No. of earning members:}\\\\
\TextField[name=birthposition]{Birth Position:}\\\\
\TextField[name=tourcount]{Number of tour per year:}\\\\

\end{Form}
\end{document}


This code results:

Underfull \hbox (badness 10000) in paragraph at lines 6--7

Underfull \hbox (badness 10000) in paragraph at lines 6--7

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/omlcmr.fd)
! TeX capacity exceeded, sorry [input stack size=5000].
\font@name ->
\OML/cmr/m/n/10
l.29 ...]{Result:}{\textless 2.5,<3.00,<3.5,<4.00}
\\\\
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on questionaire.log.


The errors are occurred for using \textless. Now, how can I insert < and >?

• \usepackage[T1]{fontenc} should help – user31729 Oct 3 '17 at 6:57
• @ChristianHupfer I don't like to use T1 because of The default Computer Modern font does not support T1 see LaTeX wikibook chapter 9.5 – alhelal Oct 3 '17 at 8:26
• Use another encoding then... – user31729 Oct 3 '17 at 8:27
• Use $<2.5$,$<3.00$,$<3.5$,$<4.00$ instead. – Nicola Talbot Oct 3 '17 at 9:11
• There is no reason not to use [T1] encoding. You still will get the same look. Try it out. (It is neverless interesting to find out, why \textless loops) – Ulrike Fischer Oct 3 '17 at 9:12

As default hyperref use the values not only as label for the fields, but also as export value for the form. This can be problematic if the values contains complicated commands meant for typesetting. In such cases you can set explicit (simpler) export values with a keyval syntax: The difference between the displayed text an the value can be seen if you add a button to show the value of the field (which also the one who would be exported or sent to a script):

\documentclass{article}
\usepackage{hyperref}

\begin{document}

\begin{Form}