Hi All,
Can you direct me to an example of how to use
cfselect, bind based on the selection of a radio button.
I have seen examples where you select one input from one drop down, which
changes the other drop down values.
But I have never seen any examples where the user selects a radio
This should be easy but I can't figure it out. I have a radio button with a
variable number of entries and I pass the selected value into a cfwindow. When
I am done and I close the window, I want to deselect the chosen radio button so
the user does not think that the button is still selected
your radio buttons have same NAME - radio1 - thus
you have a group of 9 radio buttons.
you need to have a different NAME for each question. you will also,
presumably, want a different VALUE for each of your radio button, too,
so depending on which one is selected you get its value in the form
There are very few cases when Evaluate() should be used.
Don't do this:
cfset var1 = #Evaluate(form.i)#
cfoutput#var1#/cfoutput
Do this:
cfoutput#Form[i]#/cfoutput
~|
Adobe® ColdFusion® 8 software 8 is the most important
Yes, but how could I really make the radiobutton name unique as it is in the
loop.
Is there any other way I can do if this is not the best approch??
Don't make the *name* unique, make the *value* unique.
~|
Adobe®
ok.. but here my out put also includes the Submit field name and I dont
want to display in my output... How could I do that?
I just need:
Va1l
Val2
Val3
not the Submit field.
On Mon, Feb 9, 2009 at 9:01 AM, Peter Boughton bought...@gmail.com wrote:
There are very few cases when Evaluate()
, February 09, 2009 6:35 AM
To: cf-talk
Subject: Re: Grouping of Radio Button
Yes I did.. but again I am getting the field values along with the submit
value.. how do I append it.. I just need the field values.
cfloop list=#form.fieldnames# index=i
!--- cfoutput#i#/cfoutputBR
are you familiar with cfif...cfelse.../cfif construct?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Priya Koya wrote:
ok.. but here my out put also includes the Submit field name and I dont
want to display in my output... How could I do that?
I just need:
Va1l
Val2
Val3
not
But we cannot use to or from when we use... list.
On Mon, Feb 9, 2009 at 10:35 AM, Azadi Saryev az...@sabai-dee.com wrote:
are you familiar with cfif...cfelse.../cfif construct?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Priya Koya wrote:
ok.. but here my out put also
cfoutput
cfloop list=#form.fieldnames# index=field
cfif left(field, 5) eq radio
#field# : #form[field]#br /
/cfif
/cfloop
/cfoutput
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Priya Koya wrote:
But we cannot use to or from when we use... list.
On Mon, Feb 9, 2009 at 10:35 AM,
How do I save these values in a variables?
On Mon, Feb 9, 2009 at 12:35 PM, Azadi Saryev az...@sabai-dee.com wrote:
cfoutput
cfloop list=#form.fieldnames# index=field
cfif left(field, 5) eq radio
#field# : #form[field]#br /
/cfif
/cfloop
/cfoutput
Azadi Saryev
Sabai-dee.com
if you do not like CFSET tag for some reason, you can do it inside a
cfscript block...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Priya Koya wrote:
How do I save these values in a variables?
On Mon, Feb 9, 2009 at 12:35 PM, Azadi Saryev az...@sabai-dee.com wrote:
cfoutput
value=Submit
/cfform
cfif isDefined(form.Submit)
cfoutput#form.radio1#/cfoutput
/cfif
The output for this is
Question and 3 choose of radio button. I need to choose one option for each of
the question. but now I can choose only one option for all the questions i.e
one in 9 radio button. Can any
you have to make the name of the radio button unique for every question -
hard coded this would give radio1 for question1, radio2 for question2 and
radio3 for question3
M
-Original Message-
From: Priya Koya [mailto:priya23...@gmail.com]
Sent: maandag 9 februari 2009 4:41
To: cf-talk
Yes, but how could I really make the radiobutton name unique as it is in the
loop.
Is there any other way I can do if this is not the best approch??
Thanks,
you have to make the name of the radio button unique for every question -
hard coded this would give radio1 for question1, radio2
that is because ALL your radio buttons have same NAME - radio1 - thus
you have a group of 9 radio buttons.
you need to have a different NAME for each question. you will also,
presumably, want a different VALUE for each of your radio button, too,
so depending on which one is selected you get its
- thus
you have a group of 9 radio buttons.
you need to have a different NAME for each question. you will also,
presumably, want a different VALUE for each of your radio button, too,
so depending on which one is selected you get its value in the form
scope. right now, based on your code, no matter
need to have a different NAME for each question. you will also,
presumably, want a different VALUE for each of your radio button, too,
so depending on which one is selected you get its value in the form
scope. right now, based on your code, no matter which radio button is
selected, you will get
Hi, All:
This might be a simple issue but my knowledge just runs out. I have 3
cfinput type='radio with 3 values. When the user click one of
them, a cfselect will be populated based on the value of that radio
button. So if the value is A, I populate it with query A, etc. Here
HI,
I guess this is a rather basic question, but I am really having a hard time
finding a solution.
I have a group of radio buttons. Data from the db should determine which button
is checked. How do I set this?
It is like this - the code for intitial display of the page is like-
input
HI,
I guess this is a rather basic question, but I am really having a hard time
finding a solution.
I have a group of radio buttons. Data from the db should determine which button
is checked. How do I set this?
It is like this - the code for intitial display of the page is like-
input
as follows
input type=radio id=apple name=Fruit value=Applecfif databasevalue
eq apple checked=checked /cfif /
and then add the rest for the other buttons.
Rob
On Mon, Nov 10, 2008 at 2:31 PM, Me Gupta [EMAIL PROTECTED] wrote:
HI,
I guess this is a rather basic question, but I am really
This will do it
input type=radio id=apple name=Fruit value=Apple cfif
qryResults.Fruit EQ Applechecked=checked /cfif /
input type=radio id=mango name=Fruit value=Mango cfif
qryResults.Fruit EQ Mangochecked=checked /cfif /
input type=radio id=orange name=Fruit value=Orange cfif
qryResults.Fruit EQ
Les Mizzell wrote:
The only thing I can find that works is:
cfif thisNL.alignHEAD EQ rgt
or thisNL.recordcount NEQ 1
checked=checked
/cfif
Which is a little uglier that setting thisNL.alignHEAD to rgt by
default if it isn't anything else.
If thisNL is a query, you CAN reset a
: Setting a default value and dynamically checking a radio button
Les Mizzell wrote:
The only thing I can find that works is:
cfif thisNL.alignHEAD EQ rgt
or thisNL.recordcount NEQ 1
checked=checked
/cfif
Which is a little uglier that setting thisNL.alignHEAD to rgt by
default
1) why don't you use form.alignHEAD instead of thisNL.alignHEAD? if you
must use thisNL, then maybe add cfset thisNL = structnew() before your
cfparam tag...
2) you don't need those # inside len(trim())
3) your cfif block is redundant - you already set your var with cfparam
if it does not exist
3) your cfif block is redundant - you already set your var with cfparam
if it does not exist
I had both there testing to see if one of them would catch the
null/empty value and set the variable. *Neither* is catching is, so it's
not getting set.
So, looking at it again. I want the first
If I do cfoutput#thisNL.alignHEAD#/cfoutput - these nothing there, ,
so I'm not sure why the below won't set the varialbe to rgt in this case.
cfif NOT len(trim(thisNL.alignHEAD))
cfset thisNL.alignHEAD =rgt /
/cfif
This works:
cfif thisNL.recordcount EQ 0
cfset
cfif thisNL.recordcount EQ 0
cfset thisNL.alignHEAD =rgt /
/cfif
Spoke too quick - no it doesn't.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
10:16 AM
To: CF-Talk
Subject: Re: Setting a default value and dynamically checking a radio button
If I do cfoutput#thisNL.alignHEAD#/cfoutput - these nothing there, ,
so I'm not sure why the below won't set the varialbe to rgt in this
case.
cfif NOT len(trim(thisNL.alignHEAD))
cfset
and dynamically checking a radio button
If I do cfoutput#thisNL.alignHEAD#/cfoutput - these nothing there, ,
so I'm not sure why the below won't set the varialbe to rgt in this
case.
cfif NOT len(trim(thisNL.alignHEAD))
cfset thisNL.alignHEAD =rgt /
/cfif
This works:
cfif thisNL.recordcount
The only thing I can find that works is:
cfif thisNL.alignHEAD EQ rgt
or thisNL.recordcount NEQ 1
checked=checked
/cfif
Which is a little uglier that setting thisNL.alignHEAD to rgt by
default if it isn't anything else.
The below is on a page to add or edit records.
When you visit the page, if no recordset is returned by the query, it
will ADD when the form is submitted. If a record is returned, it will
update. Standard stuff..
Small problem I'm having - I need to set a few default values to check
some
PROTECTED] wrote:
Can somebody point me to a good tutorial to build a small radio button
matrix (just 3 x 3)
What I need is a matrix like:
1st 2nd 3rd
Tom O O O
Bob O O O
Mom O O O
where you can have only one button checked in a row
Can somebody point me to a good tutorial to build a small radio button
matrix (just 3 x 3)
So far, I've not turned up anything that seems to work well cross
browser (all javascript so far...)
TIA
~|
Adobe® ColdFusion® 8
Your request is kinda' light on the details... maybe links to the javascript
ones so we can see what you mean?
On Thu, May 15, 2008 at 3:59 PM, Les Mizzell [EMAIL PROTECTED] wrote:
Can somebody point me to a good tutorial to build a small radio button
matrix (just 3 x 3)
So far, I've
Can somebody point me to a good tutorial to build a small radio button
matrix (just 3 x 3)
What I need is a matrix like:
1st 2nd 3rd
Tom O O O
Bob O O O
Mom O O O
where you can have only one button checked in a row *or* column.
How's
I know you can do a cfif not len(trim(form.fname)) to throw an error if a
form field is blank, but how do you do the same type of thing for a radio
button. Is it any different? For some reason I keep getting an error on my
form that says app_on_file is undefined in Form when I leave it blank
You can use cfparam to define a default value for the radio button.
Then, check for the default value and throw an error as appropriate.
Or, change the radio button to a select list.
M!ke
-Original Message-
From: Steven Sprouse [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 18, 2007
, Steven Sprouse [EMAIL PROTECTED] wrote:
I know you can do a cfif not len(trim(form.fname)) to throw an error if a
form field is blank, but how do you do the same type of thing for a radio
button. Is it any different? For some reason I keep getting an error on my
form that says app_on_file
Seems this would work, but it doesn't.
What would be the best way to handle this?
1. cfloop from=1 to=8 index=i
2.
3. input name=II_C_convert#i#
4. type=radio
5. value=yes
6. cfif getapp.II_C_convert#i# EQ yes
7. checked=checked
8. /cfif
9. /
/cfloop
The
It's late and I'm an idiot!
The answer is:
input name=II_C_convert#i#
type=radio
value=yes /Yes
cfif evaluate(getapp.II_C_convert#i#) EQ yes
checked=checked
/cfif
I either need to get some sleep or drink some more Jolt...
Seems
getapp['II_C_convert' i]
-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 17, 2007 9:40 PM
To: CF-Talk
Subject: Re: variable name radio button in a loop
It's late and I'm an idiot!
The answer is:
input name=II_C_convert#i#
type=radio
I have to start using that notation. I use evaluate() entirely too much, and I
assume this notation is faster?
Michael
At 09:49 PM 2/17/2007, you wrote:
getapp['II_C_convert' i]
cfif evaluate(getapp.II_C_convert#i#) EQ yes
Michael Muller
Admin, MontagueMA.net Website
Bobby Hartsfield wrote:
getapp['II_C_convert' i]
That's even moe spiffy than evaluate. Thanks...
-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 17, 2007 9:40 PM
To: CF-Talk
Subject: Re: variable name radio button in a loop
It's late
: Wednesday, 10 January 2007 3:05 PM
To: CF-Talk
Subject: RE: JS and Radio Button Issue
Thanks Charlie. That did it.
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 4:20 PM
To: CF-Talk
Subject: Re: JS and Radio Button Issue
few things i can
I think what you have here is simply Prototype - you should not require
jquery.
-Original Message-
From: Kevan Stannard [mailto:[EMAIL PROTECTED]
Sent: 10 January 2007 09:27
To: CF-Talk
Subject: RE: JS and Radio Button Issue
Hi Bruce,
Something that you might want to look
I have a form that has two radio buttons. Their function is to show one of
two hidden divs.
The JS is this:
script language=JavaScript
function toggle('with', 'without')
{
if (document.getElementById) {
withvbm= document.getElementById('with');
withoutvbm= document.getElementById('without');
}
if
few things i can see would be a problem.
you have multiple elements with ids with and without (the radio
buttons and the divs).
the code below should work.
script language=JavaScript
function toggle(divToShow) {
if (document.getElementById) {
if
Thanks Charlie. That did it.
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 4:20 PM
To: CF-Talk
Subject: Re: JS and Radio Button Issue
few things i can see would be a problem.
you have multiple elements with ids with and without
: Charlie Griefer
To: CF-Talk
Sent: Wed Jan 10 00:19:47 2007
Subject: Re: JS and Radio Button Issue
few things i can see would be a problem.
you have multiple elements with ids with and without (the radio
buttons and the divs).
the code below should work.
script language=JavaScript
function
is a radio button group set to either yes or no) I get the text
[object Object].
How do I access the actual value of that group?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
If you are using the same component that I am(Flash UI components), try:
radioButtonName.getValue()
-seth
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 12:51 PM
To: CF-Talk
Subject: Flash radio button question
When I POST a Flash
, 2006 12:02 PM
To: CF-Talk
Subject: RE: Flash radio button question
If you are using the same component that I am(Flash UI components), try:
radioButtonName.getValue()
-seth
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 12:51 PM
, 2006 11:30 AM
To: CF-Talk
Subject: RE: Flash radio button question
On the coldfusion page?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From
Yeah, I was assuming you were coding in ActionScript and using LoadVars or
remoting.
-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 1:40 PM
To: CF-Talk
Subject: RE: Flash radio button question
The question isn't how you use the variable
It's a radio button group. I click one radio button and it highlights, I
click the other and it changes. I've named the group, so it should be
submitting along with the text fields right?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc
PROTECTED]
Sent: Wednesday, May 10, 2006 1:55 PM
To: CF-Talk
Subject: RE: Flash radio button question
It's a radio button group. I click one radio button and it highlights, I
click the other and it changes. I've named the group, so it should be
submitting along with the text fields right
Andy,
I think we are a little confused in how you are doing this.
So, you have a flash movie with some form type elements, correct? So, what
functionality are you using to pass these values to a processing page.
Assuming you coding using the Flash IDE or in a seperate .as file? Just trying
of the text fields work properly, but when I try output
the value of either of the radio button groups I get the text [object
Object]. All I need to know is how to access the radio button group
variable from within Flash.
When setting up my form I simply grabbed the default radio button component,
gave
Andy,
If you are using the Flash ide, you can use the trace command and it will
display info in the output window.
So, try something like this(but replace radioButtonName with yours)
trace(radioButtonName.getValue());
It looks like we are using the same radio button component, so
--//-
-Original Message-
From: Turetsky, Seth [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 1:59 PM
To: CF-Talk
Subject: RE: Flash radio button question
Andy,
If you are using the Flash ide, you can use the trace command and it will
display info in the output window.
So, try
Seth...
That did it. I simply output 2 new variables with the value of
radioGroupName.getValue() and that worked perfectly.
Now, the bigger questions is who was the complete idiot that forced us
users to have to go through that extra step?
!//--
andy matthews
web developer
-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 3:25 PM
To: CF-Talk
Subject: RE: Flash radio button question
Seth...
That did it. I simply output 2 new variables with the value of
radioGroupName.getValue() and that worked perfectly.
Now, the bigger questions is who
To: CF-Talk
Subject: RE: Flash radio button question
Seth...
That did it. I simply output 2 new variables with the value of
radioGroupName.getValue() and that worked perfectly.
Now, the bigger questions is who was the complete idiot that forced us
users to have to go through that extra step
Writing ad hoc JavaScript code for form validation isn't a great idea in my
opinion. You could investigate using a library like the ones below:
http://www.massimocorner.com/validator/
http://www.pengoworks.com/index.cfm?action=get:qforms
Massimo Foti
Tools for
://www.pengoworks.com/qforms/
-Dan
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 22, 2005 5:02 PM
To: CF-Talk
Subject: OT: Prevent form submission if radio button and text field are not
filled out
Anyone have any ideas?
I've cut out a portion
--//-
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 23, 2005 8:06 AM
To: CF-Talk
Subject: RE: Prevent form submission if radio button and text field are
not filled out
Andy,
You can do this very easily in qForms using a dependency
: Prevent form submission if radio button and text field are
not filled out
function testPayMethod()
{
f = document.payform;
var radioCheck = false;
var firstEl = 0;
var lastEl = 3;
for (i=firstEl;ilastEl;i++)
{
if (f.elements[i].checked == true)
{
radioCheck = true;
}
}
if (!radioCheck
Anyone have any ideas?
I've cut out a portion of a form on which I'm working:
http://www.andyandjaime.com/uploads/radiojs.html
It's supposed to pop an alert box (and disable the form) when you click
check out IF
a) You've got either of the top two options (troop check or troop debit)
selected
Are you saying you need a DHTML script to reactivate the submit button if
the Troop T.E.N. value is not null and either Troop radio button is selected?
At 03:02 PM 11/22/2005, you wrote:
Anyone have any ideas?
I've cut out a portion of a form on which I'm working:
http://www.andyandjaime.com
--//-
-Original Message-
From: Kiley Simpson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 22, 2005 4:18 PM
To: CF-Talk
Subject: Re: OT: Prevent form submission if radio button and text field
are not filled out
Are you saying you need a DHTML script to reactivate the submit
is fine
return true;
}
}
The function returns either true or false so make your form's onsubmit
this...
Onsubmit=return testPayMethod();
The firstEl is the position of the first radio button and lastEl is the
position of the last radio button. Should make it easier to move the radios
around
-Original Message-
From: Mark Henderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 12:00 AM
To: CF-Talk
Subject: Another radio button problem
I am having issues with a form that allows multiple deletes (or in this
case simply changing the active db field to no) from a database
-Talk
Subject: RE: Another radio button problem
You have an ID field for every single record. So yes, it's hitting them
all in your action query when you loop over that field. Give your
delete_noticeboard field a value of the NoticeBoardID inside your loop.
On your form, change
input name
I am having issues with a form that allows multiple deletes (or in this
case simply changing the active db field to no) from a database using
checkboxes.
Hers the deal so far. The query to display all noticeboard items is...
cfquery name = qryNoticeboard datasource = #request.dsn#
SELECT
,
active
FROM noticeBoard
WHERE active = Yes
ORDER BY dateAdded DESC
/cfquery
/cfif
cfloop
Mark
-Original Message-
From: Mark Henderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 12:00 AM
To: CF-Talk
Subject: Another radio button
-Original Message-
From: Mark Henderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 12:00 AM
To: CF-Talk
Subject: Another radio button problem
I am having issues with a form that allows multiple deletes (or in this
case simply changing the active db field to no) from a database using
Ty Mark and your last post does make sense. I will try that in a couple
of hours when I have time to re-attack it.
-Original Message-
From: Mark Fuqua [mailto:[EMAIL PROTECTED]
Sent: Thursday, 15 September 2005 4:33 p.m.
To: CF-Talk
Subject: RE: Another radio button problem
Sorry, real
What the heck?
I've got a very simple form with a simple radio button:
input name=safety_required type=radio value=Yes Yes
input name=safety_required type=radio value=No checked No
Typical Insert code (SQL Server) on the form that I've used 1000 times
before and I know it's correct. The Yes
:[EMAIL PROTECTED]
Sent: Friday, May 13, 2005 7:40 AM
To: CF-Talk
Subject: Radio Button Error on Server?!?
What the heck?
I've got a very simple form with a simple radio button:
input name=safety_required type=radio value=Yes Yes
input name=safety_required type=radio value=No checked No
[snip
Montgomery Chris Contr AFSFC/SFPA wrote:
Les,
I think you're hitting against CF's built-in form validation that runs
server-side.
That did it.
Changing form vars safety_required to safetyreq did the trick. I was
tearing my hair out because it wasn't giving me a problem locally
Hi all,
On an initial form display, I have a query looping through radio buttons to
dynamically populate the radio names and values, works great. The query set
returns the #moduleID#, which is numeric.
When I submit the form, the same page is called again, and I have some
server-side form
Would something like this work for you?
input name=#moduleID# type=radio class=user5 value=5
cfif FORM.moduleID EQ 5 OR
(structkeyexists(form, moduleID) and form[moduleID] eq 5)
checked/cfif
/
On Mon, 7 Feb 2005 13:39:32 -0500, Mark Leder [EMAIL PROTECTED]
Thanks Mike. Basically I am try to select the radio button and save the value
(1 or 0) in the table under answer_correct. I have deleted the datasource in
the code I am submitting below.
Let me know how to be able to select the value of the radio button and save in
a table.
Thanks
Hello:
In my form, I do the following:
1. Enter a question in text box
2. Enter the num of answers in text box
3. Fill the answers in text box
4. Specify the correct answer by checking a radion button
5. Save this is a table.
I am unable to save the value i selected by a radio button
by a radio button
for the correct answer in the table.
You are going to have to provide a little more information than that.
Perhaps you can post the page someplace online and give us a better
understanding of the problem.
Mike
Turns out my problem stemmed from using deprecated values for checked. I
used checked = yes, when it's supposed to be just checked or nothing at
all.
Guy McDowell
Web Developer
[EMAIL PROTECTED] - Magma Communications Ltd.
t: 613.228.3565 x6348
f: 613.228.8313
http://websites.magma.ca
This
Guy,
If you are using XHTML this should be checked=checked as the HTML 4.0 attribute minimization you are using has itself been deprecated.
:)
http://www.w3.org/TR/xhtml1/#h-4.5
Turns out my problem stemmed from using deprecated values for checked. I
used checked = yes, when it's supposed to
Alright, this is what I've got
input type=Radio name=blnLgBnrActive cfif
getInspirationsPEBanner.blnLgBnrActive IS 1value=1 checked=Yes
cfelse value=0 checked=No/cfif
But what's happening is that the 3rd record through should be checked,
since getInspirationsPEBanner.blnLgBnrActive
Got any more info? Are you looping over a recordset? What else is happening?
Ade
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 12 September 2004 21:11
To: CF-Talk
Subject: Bad Radio Button
Alright, this is what I've got
input type=Radio name
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 12, 2004 4:11 PM
To: CF-Talk
Subject: Bad Radio Button
Alright, this is what I've got
input type=Radio name=blnLgBnrActive cfif
getInspirationsPEBanner.blnLgBnrActive IS 1value=1 checked=Yes
cfelse value=0 check
Well, I actually threw a datasource in there and some real tables and there
were a ton of mistakes
This code actually works. Just change the list of tables and its
displaytext list as well as the datasource on the query.
!--- make a valid list of tables to choose from for the second field ---
Are my posts actually coming through? It looks like they are but I also get
an email saying they didnt because the body was too long.
_
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 12, 2004 6:28 PM
To: CF-Talk
Subject: RE: Bad Radio Button
Well, I actually threw
I'm just going through a query. When I run my query through SQL Query
analyzer, the third record is the one with the flag of '1', when I dump
the query the third record is the one with the flag of '1' - but still
it's the fifth radio button that gets set to 'checked'.
I also have it set up so
Are you sure you have it looping in a cfoutput with the query attribute set?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 13 September 2004 00:34
To: CF-Talk
Subject: RE: Bad Radio Button
I'm just going through a query. When I run my query through SQL Query
] [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 12, 2004 4:11 PM
To: CF-Talk
Subject: Bad Radio Button
Alright, this is what I've got
input type=Radio name=blnLgBnrActive cfif
getInspirationsPEBanner.blnLgBnrActive IS 1value=1 checked=Yes
cfelse value=0 checked=No/cfif
But what's
Ihave a form which has 14 radio buttons to give the user a choice of different categories.Once they choose one, there is a search button below which will then take them to the action page.I would also like to be able to give the user a choice of double clicking on the radio button chosen to take
form action="">
input type=radio name=test
value=test
/form
-Original Message-
From: Beth Hales [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 21 April 2004 4:15 p.m.
To: CF-Talk
Subject: radio button dbclick attribute
Ihave a form which has 14 radio buttons to give the
How do I check whether a certain value is checked off on a radio button?
The group name is send. The value I want checked is whether it is sendemail. If it is I want an alert to ask that the subject is required.
Thx.
Robert O.
Here is part of what I have so far:
if((form.send.value).checked
1 - 100 of 127 matches
Mail list logo