[pdftex] FORMS of hyperref only work with AcrobatProfessional ??

TW Ma twma at maths.uwa.edu.au
Fri Feb 6 06:44:31 CET 2004


I try to use testform.tex to collect data. Thanks to 
Heiko Oberdiek , Ross Moore , Hans Hagen , et al,
my testform.pdf actually calls the correct action-file 
but the values of data are NOT passed from pdf-file to action-file.

Question#1: Do I have to ask our supporting staff 
to install certain plug-in to our server, or Acrobat?

Question#2: Is there syntax in Hyperref that is 
equivalent to hidden data of HTML?
<input type="hidden" name="hid" value="**hidden**">

Question#3: Are there any books or URL for the beginners 
to use pdfLatex-forms instead of bothering the others?

Thank you in advance for your help.
ALL my files (only 3 in total) are included as appendix.
Gratefully yours, twma at maths.uwa.edu.au

-------- www.maths.uwa.edu.au/~twma/xyz/testform.tex
It calls the correct action-file 
but the values of data are NOT passed to next file (abc.php).

\documentclass{article}
\usepackage[bookmarks=false]{hyperref}
\setlength{\parindent}{0pt}
\setlength{\parskip}{10pt}
\begin{document}

\begin{Form}[action=http://www.maths.uwa.edu.au/\string~twma/xyz/abc.php,
method=post]
\TextField[width=3in,name=xname,value={Bilbo Baggins}]{Full name:  }
%%% thanks to Heiko <oberdiek at uni-freiburg.de> for the syntax

Is there any syntax to handle hidden data? For html, it is 

$<$input type="hidden" name="hid" value="**hidden**"$>$

\Submit{Send} \Reset{Clear}\end{Form}\end{document}

-------- www.maths.uwa.edu.au/~twma/xyz/abc.php
This works well with next file (testformHtm.htm) in HTML.

<html><head><title>testing-abc</title></head><body>
The value of xname is (<? print $xname ?>).<br>
Here are the (<? print $hid ?>) data.
<body></html>

-------- www.maths.uwa.edu.au/~twma/xyz/testformHtm.htm
This is used to verify the above action-file (abc.php)

<html><head><title>Test Form Htm</title></head><body>
This is to test the file abc.php first by htm-file and then pdf-file.<p>
<form method="POST" action="abc.php">
<input type="text" name="xname" size="60" value="***from htm files">
<input type="hidden" name="hid" value="**hidden**">
<input type="submit">
<input type="reset">
</form>
</body></html>





More information about the pdftex mailing list