This is what I got so far with the code given below.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{array}
\makeatletter
\providecommand{\tabularnewline}{\\}
\usepackage{hyperref}
\makeatother
\usepackage{babel}
\begin{document}
\begin{Form}[action=http://your-web-server.com/path/receiveform.cgi]
\begin{tabular}{ll>{\centering}p{0.6cm}ll}
Name: & \TextField[height=0.01cm, width=5cm] & & Name: & Need TextField here \tabularnewline
Client's Name: & \TextField[height=0.01cm, width=5cm] & & Advisor Name: & \rule{5cm}{1pt}\tabularnewline
\end{tabular}
\vspace*{0.3cm}
Have you ? \hfill{} \CheckBox[height=0.01cm, width=0.4cm] \enspace{} Yes
\hfill{} \CheckBox[height=0.01cm, width=0.4cm] \enspace{} No
\Submit{Submit}
\end{Form}
\end{document}
Questions
- How to control the height of
TextField
as twoTextField
s are overlapping? - How to change color of
TextField
? - How to make two
CheckBox
es mutually exclusive so only one can be checked at once?
An help will be highly appreciated. Thanks
Best Answer
You can change the height of a textfield with the height option or by redefining \DefaultHeightofText. But the minimal height of the field will always be the height of the surrounding box. In a tabular cell (which contains a \strut) this is the height of the cell. If you want to avoid this you can add an additional box: