Previous | Next | (P-PDF) JavaScript
Topic: Re: Parseing a QueryString in JS (Via Email)
Conf: (P-PDF) JavaScript, Msg: 28144
From: dpstory
Date: 10/5/2001 06:25 AM
On 5 Oct 2001, at 6:22, p-pdf-javascript Listmanager wrote:
> From: "Matt"
>
> --- Planet PDF Forum | http://forum.planetpdf.com ----
>
> Is there a way to pass in an "&" as a character itno a pdf. The pdf thinks
> that the "&" is a delimeter between fields. I have tried to pass %26 but the
> parser still makes this into an "&". It is the unescape funtion in Acrobat 5.
>
> My querystring would be something like this:
> doc.asp?Field1=Matt&Field2=Matt & Sarah&Field3=together
>
> The "&" in field2 between Matt and Sarah should not be considered a delimeter
> between fields.
>
(1) have you tried Math \& Sarah ?
(2) As an alternate method, which might be more "Acrobat-friendly", would be
to create (possibly hidden) form fields and submit the data. Then, you would
not have problems with "Matt & Sarah".
dps
Dr. D. P. Story / dpstory@uakron.edu / (330) 972-7514
http://www.math.uakron.edu/~dpstory/ Dept of Mathematics
and Computer Science / University of Akron / Akron, Ohio 44325
AcroTeX Web Site: http://www.math.uakron.edu/~dpstory/acrotex.html
Site Includes: e-Calculus, Algebra Review in Ten Lessons,
Mathematics Games, Pdfmarks:Links & Forms,
Using LaTeX to Create Quality PDF Documents for the WWW,
Web.sty and Exerquiz.sty Packages for LaTeX,
and much, much more.