[pdftex] pdfTex-form, submit-button

twma twma at maths.uwa.edu.au
Fri Nov 17 04:55:00 CET 2006


Dear Friends,

The index.php is linked to formTest.pdf
It successfully opens formTest.pdf created by pdfTex

When I click the submit button in formTest.pdf in order to activate Act.php,

I get an error message:
   You need to be running inside a web browser in order to submit this form

I use another file: calling.htm (also listed below),
there is no problem to activate Act.php.

I do not know where to start checking.
Be grateful if you could help. Thank you in advance.

twma
====

======http://www.maths.uwa.edu.au/~twma/friends/testing/index.php

<html><head><title>index</title></head><body>
Activate <a href= "formTest.pdf"  target="_blank">pdf-form</a>.

</body></html>

======http://www.maths.uwa.edu.au/~twma/friends/testing/formTest.tex
====== compiled into formTest.pdf

\documentclass[12pt,a4]{article}
\usepackage[bookmarks=false]{hyperref}

\begin{document}

\begin{Form}[method=POST, encoding=html,
action="http://www.maths.uwa.edu.au/\string~twma/friends/testing/Act.php"]

Name: \TextField[name=yourName,value={}]{}

\bigskip

\Submit{Send} \qquad\qquad \Reset{Clear}

\end{Form}\end{document}

======http://www.maths.uwa.edu.au/~twma/friends/testing/calling.htm

<html><head><title>form.php</title></head><body>

<form method=post action="Act.php">
<input type="submit" name="submitB">
</form></body></html>

======http://www.maths.uwa.edu.au/~twma/friends/testing/Act.php
<html><head><title>Act.php</title></head><body>
Has been called.</body></html>

======http://www.maths.uwa.edu.au/~twma/friends/testing/
-rw-r--r--  1 twma twma    81 Nov 17 11:14 Act.php
-rw-r--r--  1 twma twma   152 Nov 17 11:15 calling.htm
-rw-r--r--  1 twma twma   404 Nov 17 11:32 formTest.aux
-rw-r--r--  1 twma twma  4997 Nov 17 11:32 formTest.log
-rw-r--r--  1 twma twma 13093 Nov 17 11:32 formTest.pdf
-rw-r--r--  1 twma twma   347 Nov 17 11:32 formTest.tex
-rw-r--r--  1 twma twma   132 Nov 17 11:26 index.php




More information about the pdftex mailing list