[pdftex] pdfTex-form, submit-button

twma twma at maths.uwa.edu.au
Fri Nov 17 07:28:38 CET 2006


Dear Ross, I am sorry I did not catch your message at the lower part of your
email with SquirrelMail but picked it up later from Mac-Mail. You message
DID help a lot.

Following your instructions: i.e. remove the double quotes.
The submit-button works well. It sends out the plain-text to IE

<html><head><title>Act.php</title></head><body>
Has been called.</body></html>

Do you think that this is a local installation problem?
===================

Following your instructions again: i.e. to make it relative.
\begin{Form}[method=POST, encoding=html, action=Act.php]

I get an error message:
    Error opening URL to submit this form.

Is it also likely a local installation problem?

Thank you in advance. twma
====

> On 17/11/2006, at 2:55 PM, twma wrote:
>
>> 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
>
> That could well be true.
> What PDF browser are you using?
> It may not be web-enabled.
>
>
>> \begin{Form}[method=POST, encoding=html,
>> action="http://www.maths.uwa.edu.au/\string~twma/friends/testing/ Act.php"]
>
> Remove those "  characters.
> They are not needed, and are quite wrong.
> When I try your example, at your site via a web-browser, I get:
>
> The requested URL
>    /~twma/friends/testing/"http://www.maths.uwa.edu.au/~twma/friends/
> testing/Act.php"
> was not found on this server.
>
> That is, the " makes the URL a relative one, rather than absolute.
>
>
>>
>> Name: \TextField[name=yourName,value={}]{}
>>
>> \bigskip
>>
>> \Submit{Send} \qquad\qquad \Reset{Clear}
>>
>> \end{Form}\end{document}
>
>
> Hope this helps,
>
> 	Ross Moore
>
> ------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------
>
>
>
>
>






More information about the pdftex mailing list