Not sure if any of you have any experience with XHTML or not but I have a
question that concerns XHTML & CF Form variables. For those of you that have
never heard of XHTML it has picked up where HTML 4.01 left off, Currently
its in version 1.1.
If you don't know, XHTML has elminated the "NAME" attribute in HTML tags &
its replaced by the "ID" attribute. So your basic form elements thats used
to look like this:
<input type="text" name="blah">
now look like this:
<input type="text id="blah" />
My question is, does this present a problem in referencing your form
variables in CF now??? Like in my example above can you now still reference
the variable below when the "name" attribute is now replaced by the "id"
attribute??? (Note: obviously I havent tried the above example yet)
#Form.blah#
If this is a problem now, would/should this be a concern later in future
releases/versions of Cold Fusion???
I've been working with XHTML as a frontend for the last 6 months now & have
still been referencing my form elements with the name attribute although its
been disregarded by XHTML. Instead ive been using the "id" & "name"
attributes together & havent had a problem yet, even though Ive been using
the strict DTD.
In the future this is probably not wise for me to do but it works for now.
Im guessing thats just in the fact of browser implementations & support.
XHTML 1.0 is basically just well formed HTML but XHTML 1.1 is a whole nother
story, much much stricter. I know that the use of XHTML isnt as wide spread
as one my want right now & that the use of XHTML 1.1 with support in the
various browsers is far off in the future but this could still present a
problem.
Thanx for any help,
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists