Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Alen #1
HTML form fields and special characters
How can I read the value of form fields with special characters such az comma,
space, doller sign, star, slash,... in their name?
When I dump the form <cfdump var="#form#"/> posted from a PDF form which has
fields like "16. employee/name" I can see the value. but when I try to access
the field even when I use evaluate function I get and error message that
special characters are not allowed in coldfusion variable names.
If cfdump can read the form fields value I should be able to it as well, the
question is HOW?
Amir
Alen Guest
-
export Special characters from .swf to Lotus Notes Form
In a Lotus Notes form, i have embedded a flash swf. Through this, users can submit applications, and I send the data to the Notes form with loadvar... -
Special Characters from Word Mail Merge saved as HTML
Hello... I'm saving a Word MailMerge template as an HTML File to upload to create an "on-the-fly" mail merge. what I need to do is find the <<... -
Special Characters in a text box for a form
I am creating a page the deals with users entering information into a form which is then loaded to a database. no big deal. however, this often... -
Special Characters - Mac vs. PC - Help
Hi, im developing an hybrid application in director. The application is running very well in PC and MAC, but there is a problem annoying me. I... -
Numeric characters after alphabetic characters sorting varchar2 fields
Hi! Why numeric characters are placed after alphabetic characters sorting varchar2 fields? Example: AAA BBB 111 FFF XXX -
mxstu #2
Re: HTML form fields and special characters
There might be a better way, but did you try accessing the value like this:
<cfoutput>#form["16. employee/name"]#</cfoutput>
mxstu Guest
-
Alen #3
Re: HTML form fields and special characters
Thank you mxstu , it worked.
Someone else also give me a solution using structFind.
<cfloop collection="#form#" item="this_field">
<cfoutput>#this_field# = #StructFind(form, this_field)#<br></cfoutput>
</cfloop>
Alen Guest
-
mxstu #4
Re: HTML form fields and special characters
Glad you solved it.
Yes, the syntax: form["16. employee/name"] is basically a shortcut for StructFind(). I'm not sure which syntax is preferred .. as of MX 7.
mxstu Guest



Reply With Quote

