I have a simple one:
cfselect name=endampm required=yes message=Please select an AM/PM for the
end time id=endampm
option value=/option
option value=AM cfif schedule.endampm EQ AMselected=selected
/cfifAM/option
option value=PM cfif schedule.endampm EQ PMselected=selected
/cfifPM/option
The solution was not to use CFFORM at all. it now works.
I have a simple one:
cfselect name=endampm required=yes message=Please select an
AM/PM for the end time id=endampm
option value=/option
option value=AM cfif schedule.endampm EQ AMselected=selected
/cfifAM/option
option
In my experience CFForm is more trouble than it's worth. I generally just
use regular forms + jquery to get elegant client-side validation. Much more
lightweight and gives much more granular control over your form.
On Thu, Feb 17, 2011 at 5:27 AM, Torrent Girl moniqueb...@gmail.com wrote:
I couldn't agree more. I abandoned CFFORM years ago.
Sent from my iPhone
On Feb 17, 2011, at 6:05 AM, Michael Grant mgr...@modus.bz wrote:
In my experience CFForm is more trouble than it's worth. I generally just
use regular forms + jquery to get elegant client-side validation. Much more
: Thursday, February 17, 2011 7:58 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: SELECT - Option selected
I couldn't agree more. I abandoned CFFORM years ago.
Sent from my iPhone
On Feb 17, 2011, at 6:05 AM, Michael Grant mgr...@modus.bz wrote:
In my experience CFForm is more trouble
: Thursday, February 17, 2011 5:04 AM
To: cf-talk
Subject: Re: SELECT - Option selected
I have a simple one:
cfselect name=endampm required=yes message=Please select an AM/PM
for the end time id=endampm
option value=/option
option value=AM cfif schedule.endampm EQ AMselected=selected
/cfifAM/option
Does this not work on cfselect?
If you are talking the HTML select element it is selected=selected
Sent from my iPhone
On Feb 15, 2011, at 4:47 PM, Torrent Girl moniqueb...@gmail.com wrote:
~|
Order the Adobe Coldfusion
depends on cfselect...
in simple cfselect - one based on an in-page query, for example - you
can provide a value in the 'selected' attribute and an option with
that value will be pre-selected.
advanced cfselect - one with a binding - does not support this
functionality. but there are
this is an old post but I am pulling my hair out as well.
Does anyone know the answer to the select=true, select=selected problem?
It is not working in IE or FF for me.
TIA
~|
Order the Adobe Coldfusion Anthology now!
If you are talking the HTML select element it is selected=selected
Sent from my iPhone
On Feb 15, 2011, at 4:47 PM, Torrent Girl moniqueb...@gmail.com wrote:
this is an old post but I am pulling my hair out as well.
Does anyone know the answer to the select=true, select=selected problem?
remove =true and it should work
cfloop query=myquery_1
option value=#ID# cfif ID EQ
IDselected/cfif#Description#/option
/cfloop
Andrew.
Ok I've spent that last 2 hours tearing my hair out trying to figure out
what was wrong in my code. When I come to the realization to test it in IE
and bam
remove =true and it should work.
Andrew.
Ok I've spent that last 2 hours tearing my hair out trying to figure out
what was wrong in my code. When I come to the realization to test it in IE
and bam it works. I have a dynamically generated Select drop down that
marked the option tag selected that
remove the =true and it should work
Andrew.
(I tried replying to the original post and it never appears.could it be
connected that the author is missing?)
~|
Macromedia ColdFusion MX7
Upgrade to MX7 experience time-saving
remove =true and it should work.
Andrew
Ok I've spent that last 2 hours tearing my hair out trying to figure out
what was wrong in my code. When I come to the realization to test it in IE
and bam it works. I have a dynamically generated Select drop down that
marked the option tag selected that
I've run into this before with FF. I think when I made my changes, I cleared
the cache and reloaded the page. Then it started working.
I also like using cfselect selected=#someValue#
Will
~|
ColdFusion MX7 by AdobeĀ®
Ok I've spent that last 2 hours tearing my hair out trying to figure out
what was wrong in my code. When I come to the realization to test it in IE
and bam it works. I have a dynamically generated Select drop down that
marked the option tag selected that is the value I want. Firefox is ignoring
16 matches
Mail list logo