* Sending FDF data from a ConTeXt pdf form @ 2002-09-13 0:51 Daniel Graham 0 siblings, 0 replies; 2+ messages in thread From: Daniel Graham @ 2002-09-13 0:51 UTC (permalink / raw) 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? Thanks for any help! Dan ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <Pine.LNX.4.44.0209122036370.2912-100000@godel.adsl.duke.ed u>]
* Re: Sending FDF data from a ConTeXt pdf form [not found] <Pine.LNX.4.44.0209122036370.2912-100000@godel.adsl.duke.ed u> @ 2002-09-14 18:59 ` Hans Hagen 0 siblings, 0 replies; 2+ messages in thread From: Hans Hagen @ 2002-09-14 18:59 UTC (permalink / raw) Cc: ntg-context 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 ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-14 18:59 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-09-13 0:51 Sending FDF data from a ConTeXt pdf form Daniel Graham [not found] <Pine.LNX.4.44.0209122036370.2912-100000@godel.adsl.duke.ed u> 2002-09-14 18:59 ` Hans Hagen
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).