From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Sending FDF data from a ConTeXt pdf form
Date: Sat, 14 Sep 2002 20:59:22 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20020914205842.03252b90@remote-1> (raw)
In-Reply-To: <Pine.LNX.4.44.0209122036370.2912-100000@godel.adsl.duke.ed u>
At 08:51 PM 9/12/2002 -0400, Daniel Graham wrote:
>I have created a c program using Adobe's FDF toolkit (with a python
>wrapper) and would like to use a pdf form created with context to
>submit FDF data to a specified URL. My context file includes the
>following:
>
>\button{Submit}[SubmitForm{http://localhost/cgi-bin/fdf/record.py\#FDF}]
>
>This apparently sends URL-encoded data (using get?) instead of FDF
>data. A similar pdf form created using latex and pdftex with
>
>\begin{Form}[action=http://localhost/cgi-bin/fdf/record.py\#FDF,
>method=post]
>
>works perfectly. What am I missing in the setup for context?
\setupfields[method=XML]
or
\setupfields[methods=FDF]
will give you the other methods
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
next parent reply other threads:[~2002-09-14 18:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44.0209122036370.2912-100000@godel.adsl.duke.ed u>
2002-09-14 18:59 ` Hans Hagen [this message]
2002-09-13 0:51 Daniel Graham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20020914205842.03252b90@remote-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).