Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
InkFasT! #1
Parsing
I have a question that must at once seem simple and stupid...
If I create a form on one page and want to pass the form field data through a
couple of other pages would I not include in the other pages:
<input name="formfield" type="hidden" value="#form.formfield#"> ?
It seemed perfectly logical to me but what I get is "form.formfield" instead
of the data in the form field.
OK guys (and gals) what did I miss here?
Thanks!
David
InkFasT! Guest
-
How do i Parsing xml
This how my customers xml is coming across and can not change. <month name="January"> <day> <date>01</date> <name>Thursday</name> <time>12:03... -
PDF Parsing
Hello, I'm writing a PDF Parser and I want to recognize lines or Logic units(paragraphs or sentences) in the PDF stream objects. I need to take a... -
Parsing URL
How do I go about parsing a url from the browser location. For example if I have the following url: ... -
Parsing PHP
I am using PHP to develop and web app. The app also has a scripting language for the *end user*. I was thinking if I could expose a very simple... -
[PHP] Parsing PHP
There is the tokenizer extension... http://www.php.net/tokenizer This might give you a good start. -- Peter James petej@phparch.com ... -
Dan Bracuk #2
Re: Parsing
If you want your form data to persist through more than one page, create
session variables.
Originally posted by: InkFasT!
I have a question that must at once seem simple and stupid...
If I create a form on one page and want to pass the form field data through a
couple of other pages would I not include in the other pages:
<input name="formfield" type="hidden" value="#form.formfield#"> ?
It seemed perfectly logical to me but what I get is "form.formfield" instead
of the data in the form field.
OK guys (and gals) what did I miss here?
Thanks!
David
Dan Bracuk Guest
-
forumnotifier #3
Re: Parsing
If you want your form data to persist through more than one page, create
session variables.
Originally posted by: InkFasT!
I have a question that must at once seem simple and stupid...
If I create a form on one page and want to pass the form field data through a
couple of other pages would I not include in the other pages:
<input name="formfield" type="hidden" value="#form.formfield#"> ?
It seemed perfectly logical to me but what I get is "form.formfield" instead
of the data in the form field.
OK guys (and gals) what did I miss here?
Thanks!
David
forumnotifier Guest
-
BKBK #4
Re: Parsing
It seemed perfectly logical to me but what I get is "form.formfield" instead of
the data in the form field.
That can only mean one thing. At some point you mistakenly passed
form.formfield instead of #form.formfield#. It's a common mistake we all
make, in the heat of the action. Review your code, in particular, your "action"
pages, i.e. the code that processes the posted form fields.
BKBK Guest
-
InkFasT! #5
Re: Parsing
Well it seems that to include the data in a hidden field and pass it through
different pages (not to mention a payment gateway and into the db) the original
code of:
<input name="formfield" type="hidden" value="#form.formfield#"> was wrong...
<input name="formfield" type="hidden"
value="<cfoutput>#form.formfield#</cfoutput>"> worked great.
Thanks for the help!
David
InkFasT! Guest



Reply With Quote

