Multiple sets of radio buttons no longer working

Hello All:
My first post so I apologize in advance if I don't do it
properly.
I have a few web forms that have multiple groups of radio
buttons on them that are suddenly errorring out since we moved to
CF 7. I started tinkering with the one form that I have posted the
code for and kept cutting it down to the simplest code that begins
to produce the error. If I just use 1 radio button group everything
works fine, but the minute I add the second one, the whole thing
throws a "Syntax error (missing operator) in query expression"
message. Each radio button group has it's own group name and a
checked value. It is very simple code and very frustrating why it
has suddenly stopped working so any assistance is welcome.
Here's the form code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body background="white" marginheight="0"
marginwidth="0">
<cfform action="testSub.cfm" method="POST">
<table width="95%" border="0" cellpadding="0">
<tr>
<td width="24%"><img src="survey.jpg"
border="0"></td>
<td width="76%"><p>It is our desire to assure
that MID is meeting the needs of
our clients. xxxxxxx
<p> </p>
<p>*****************************************************<br>
</p></td>
</tr>
<tr>
<td colspan="2"><p>Please answer questions 1
through 4 with a 1 - 5 rating, with 1 being POOR and 5 being
EXCELLENT.</p>
<p> You are not obligated to provide this
information.</p>
<p><font face="Arial, Helvetica, sans-serif"
size="2">My Name (First &amp;
Last):</font> <font face="Arial, Helvetica,
sans-serif" size="2">
<cfinput type="Text" name="poc" required="no" size="50"
maxlength="50">
<br>
<b>1. Was
your service technician polite and
courteous?</b><br>
<cfinput type="radio" name="polite" value="1">
1
<cfinput type="radio" name="polite" value="2">
2
<cfinput type="radio" name="polite" value="3" checked>
3
<cfinput type="radio" name="polite" value="4">
4
<cfinput type="radio" name="polite" value="5">
5     </p>
<p><br>
<br>
2. Was
your service technician polite and
courteous?</b><br>
<cfinput type="radio" name="know" value="1">
1
<cfinput type="radio" name="know" value="2">
2
<cfinput type="radio" name="know" value="3" checked>
3
<cfinput type="radio" name="know" value="4">
4
<cfinput type="radio" name="know" value="5">
5     </p>
<input type="submit" name="btnSubmit" value="Submit My
Comments!">
<input type="reset" name="reset" value="Reset
Form"><br>
<br>
</cfform>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
The ACTION code
<html>
<head>
<title>test</title>
</head>
<body>
<CFIF IsDefined("FORM.btnSubmit")>
<CFQUERY NAME="Add" datasource="newMID">
INSERT INTO survey(
poc,
polite,
know
VALUES (
'#poc#',
'#polite#'
'#know#',
</CFQUERY>
</CFIF>
<cfoutput>
Thank you. Your IT survey has been forwarded to our NHCPR IT
mailbox.
</cfoutput>
<cfmail to="[email protected]"
FROM="[email protected]"
SUBJECT="IT Survey Form">
Polite: #polite#
Know: #know#
POC (opt.): #poc#
</cfmail>
</body>
</html>

OK. I took out the extra comma. Put a space in after *survey*
and put "form" in front of the variables in order to scope them. I
got it to work just then and decided to add the next radio button
and once again, the error message keeps coming up.
Here's what it looks like now.
ACTION
code***********************************************************
<html>
<head>
<title>test</title>
</head>
<body>
<CFIF IsDefined("FORM.btnSubmit")>
<CFQUERY NAME="Add" datasource="newMID">
INSERT INTO survey (
poc,
polite,
know,
time
VALUES (
'#form.poc#',
'#form.polite#',
'#form.know#',
'#form.time#'
</CFQUERY>
</CFIF>
<cfoutput>
Thank you. Your IT survey has been forwarded to our NHCPR IT
mailbox.
</cfoutput>
<cfmail to="[email protected]"
FROM="[email protected]"
SUBJECT="IT Survey Form">
Polite: #polite#
Know: #know#
POC (opt.): #poc#
Timely: #time#
</cfmail>
</body>
</html>
The ERROR msg
Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC
Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in
INSERT INTO statement.
The error occurred in
C:\Inetpub\wwwroot\PaxNew\chiefOscar\testSub.cfm: line 20
18 : '#form.polite#',
19 : '#form.know#',
20 : '#form.time#'
21 : )
22 :
SQL INSERT INTO survey ( poc, polite, know, time ) VALUES (
'kennedi', '3', '5', '3' )
DATASOURCE newMID
VENDORERRORCODE -3502
SQLSTATE 42000
Resources:
Check the ColdFusion documentation to verify that you are
using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 10.249.6.81
Referrer
http://205.115.107.22/chiefoscar/tsurvey.cfm
Date/Time 29-Jan-08 02:05 PM
Stack Trace (click to expand)

Similar Messages

  • Yahoo mail page sign-in button no longer works

    I suddenly can't sign into my yahoo accounts on my iPad 1.  It seems the sign-in button no longer works, when I tap it or use the "go" button, nothing happens - no error message, nothing.  I've re-set the iPad and I still can't sign in.  I can get to all of the other Yahoo web pages, just not my mail.  I can sign into other websites no problem.  Any suggestions?  Is my iPad now completely obsolete?
    I can sign in without a problem on my iMac.
    Thanks,
    Kathleen

    Reset your iPad. This will do no harm and you will not lose any data. See if that works. If not, clear Safari and then try again.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    Go to Settings>Safari>Clear History, Cookies and Data.

  • After update an internet radio station no longer works.

    After iTunes 12.1 update an internet radio station no longer works. Prior iTune internet radio station works fine.

    I now believe the problem with IE9 was not related to HP, but to a Windows Update replacement to the “Intel Corporation - Display - Mobile Intel(R) 4 Series Express Chipset Family” drivers:  Intel Corporation Display software update released in February, 2011 (useless link  http://winqual.microsoft.com/support/?driverid=20411791).   IE9 started working OK when I set “Use software rendering instead of GPU rendering*” (see http://forums.whirlpool.net.au/archive/1678709 with reference to “faulting module igdumdx32.dll”), so will now investigate removing that update.
    Sorry to have cast aspersions on HP.  MS did this to themselves, as usual.

  • Why does my button no longer work in Flash Player 8?

    Hi,
    I have built a site in Flash MX a while ago. Now I’d
    like to upgrade things a bit while testing the new Adobe Flash CS3.
    To be able to use a new function (“anti-alias for
    readability”) the program warns me that “this feature
    is not supported by Flash Player 6. To use this feature, you must
    target Flash player 8.”
    So I change the setting to Flash Player 8, leaving
    Actionscript to version 2.0.
    However, now one of my main menu buttons no longer works!
    When I change settings back to Flash Player 6, things are fine
    again. What am I overlooking?
    Below is the script for the button (which has an instance
    name). Does anything change with the actionscript in CS3?
    Thanks for any advise!
    on (rollOver) {
    gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
    gotoAndPlay("s2");
    on (release) {
    _root.Play();

    That's it! It works fine again. Thanks a lot, you made my
    night!

  • Is it possible to flip the multiple choice quiz "radio" button from left to right of the answers?

    Hello forum,
    I am using Captivate version 6.1.0.319 on a Windows 7 desktop PC and would like to know if it is possible to flip the multiple choice quiz "radio" button from left to right of the answers. I am working on a project that uses the "Require Right to Left composer" within the Global Preferences: General settings. The captions has been switched from left to right but the quiz answer radio buttons did not. Any help would be appreciated.
    Thanks, in advance. 

    Hello and welcome to the forum,
    I'm not aware of such a possibility. A workaround could be to create your own MCQ slides, using standard objects and widgets like the radiobuttons widget (there is an enhanced version created by Jim Leichliter) and advanced actions. These articles were written for previous versions, but can give you an idea about the work involved:
    http://blog.lilybiri.com/widgets-and-custom-questions-part-1
    http://blog.lilybiri.com/extended-widgets-for-custom-mcq-and-tf-questi
    Lilybiri

  • My lock button no longer works on my ipod touch and now i have all kinds of problems with it freezing and kicking me out of apps. Is there any way to get this fixed and were would i go to get it fixed?

    Please Help!!!! I have an ipod touch 4th gen.  and since the last update the lock button no longer works, this has caused it to have a lot of problems now like freezing all the time, kicking me out of almost all my apps, some times even when if locks on its own its not locked and buttons with be pushed in my pocket, and this causes the battiery to die fast.   I really love my ipod and would like to just get it fix if possible for a reasonable about of money. Anyone know of a place I can get it fixed in Ft Lauderdale Fl area or is there something I can do?

    Have you tried:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    Apple will exchange your iPod for a refurbished one for this price:
    Apple - Support - iPod - Repair pricing
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Why are the back/forwards buttons no longer working after upgrade?

    Hi, I recently upgraded from Firefox 3.5 (I believe) to Firefox 4.0.1 and now the back and forwards buttons no longer work. I tried resetting the settings under the toolbars > customize, etc. That didn't work. FYI, I'm using a mac. Any solutions? Thanks in advance...

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • HT2188 home button no longer working after upgrade to io6 on my iphone4...any ideas to fix this problem

    home button no longer working after upgrade to ios6 software on my iphone4..anything i can do to frix this or apple send me a new device.  phone no good without a home button

    The button's broken.  S**t happens.  Apple will replace your phone.  If in waranty it will be free of charge.  If not, you will pay $149. 
    You can elect to have it repaired at a 3rd party shop near you if you choose, but this will void all warranty if there's any left.

  • My ipod touch 4th generation keeps lagging, all the apps crash, nothing will update and my home button no longer works?

    my ipod touch will not stop crashing, its pretty much un usable now, is it worth resetting to default settings and clearing everything. Its about two years old and the screens been smashed twice and replaced, the home button no longer works, and now its slow and basically nothing even opens or updates. is it the end of my ipods life now ahah.

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears. You can't do it
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
      - Restore to factory settings/new iOS device.

  • Since updating to 3.6.15 today, back button no longer works and FF doesn't remember URLs

    Since updating to 3.6.15 today, back button no longer works and FF doesn't remember URLs. Not just that memory of previous URLs got wiped out, it still doesn't remember the ones I've typed in since I updated. And No back button, it's really hard to use.
    I went thru all the settings and could not find a way to fix this problem. What is up? I've never had this happen in any version of IE, FF, or Chrome.
    Can I get back previous version? Until then, it's Chrome and IE for me.
    I'll be happy to delete any plug-ins if it will make this problem go away.
    THANKS in advance!

    Thanks. This didn't solve te problem but it seemed to have solved itself. all of a sudden it started working properly, without me even closing FF and starting it up again. Thanks Cor-el, if it happens again I'll try your solution.

  • HT1430 my very new iphone5s will not turn on its as if the button no longer works is there any additonal swiping actions or hidden buttons i may have triggered accidently it is barely 2 weeks old and has no obvious signs of wear............not impressed A

    my very new iphone5s will not turn on its as if the button no longer works is there any additonal swiping actions or hidden buttons i may have triggered accidently it is barely 2 weeks old and has no obvious signs of wear............not impressed APPLE

    im hoping that by holding both the power and circle buttons it will spring back to life ..........somtimes apple you are too clever with your secert hidden butttons switches

  • The back button no longer works. I have disabled all add-ons, rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    the back button no longer works. I have disabled all add-ons,rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • Standby button no longer works after upgraded OS from 4.... to 5.0.0.484

    Hi all.  I am new to BB and have a Tour 9630.  After "upgrading" my OS yesterday the former "standby" (mute) button no longer works.  I tried to find a place to assign "standby" mode to the left or right shortcut key but no luck.  Also, I noticed my Opera browser is significantly different (and more annoying) because clicking the trackball goes back....  Any thoughts on either issue would be appreciated.  Thanks.

    Ok, so apparently I haven't looked at my phone too closely. The old Pearl model only had one button up top, which you used for both mute and standby. The new Tour apparently has two- the one on the right is the mute and the one on on the left is the lock.
    On the Pearl you could press * to lock and *+[Green talk button] to unlock. On the Tour the only option you have to unlock is to press the lock/unlock button on the top left. It's pretty clear when you look at the top of the phone. However I usually have mine in a silicone case, which does have markings but they're very hard to make out.
    So the phone locks and unlocks just fine, even after the OS 5.0 upgrade. However, I'm still wary about getting rid of standby mode if, in fact, it is a battery-saver. (Which I'm pretty sure it is)
    Bring back standby mode, Blackberry!!

  • Back button no longer works in some specific situations; also, it appears that clearing cache isn't working.

    The "back" button no longer works in certain specific situations on certain specific websites -- especially on the very website on which I need to use it very frequently. This has been going on for a couple of weeks.
    Also, I noticed today that the "clear cache now" command doesn't seem to be working. Formerly, when I cleared the cache, I had to re-login to those websites that normally "remember" my login (because clearing the cache erased that "memory") -- but today, after using the "clear cache now" command, those websites still "remember" my login, which leads me to believe the cache didn't get cleared. Is there any other way to check whether it got cleared?
    I was attempting to clear the cache in the faint hope that this might help the above "back" button problem, as no one has yet given me a solution for this that has worked. One person suggested having Firefox re-create the possibly damaged "places.sqlite" and "places.sqlite-journal" files. I tried this, but there was no change to the problem.
    I think this problem started around the time I had a few Firefox crashes while using YouTube and doing something else on the computer at the same time.
    I just today learned about the "crash signature" -- how to look it up, and to include it in a forum question. However, the crash log did not show these recent crashes, only some others from a few months ago. So, I'm unable to show the crash signature for this.
    I'm guessing there's a chance that upgrading to a newer version of Firefox might fix this problem -- but I hesitate to do that, because it occurs to me that it also may be possible that changing the program before fixing this might make it harder to fix. I don't have enough knowledge of this software to know which is more likely, and I don't like to try things at random, in ignorance of the possible results. Also, after reading today several other forum comments from people who are unhappy with their Firefox upgrades, I hesitate to upgrade for that reason, also.

    Websites remembering you and automatically log you in is stored in a cookie.<br />
    So you need to remove the cookies to make a website forget you.
    * http://kb.mozillazine.org/Cookies

  • Radio Remote No Longer Works

    Since updating my ipod to the latest version my Radio Remote no longer works when i plug it in it says this accessory is not supported by this ipod what can i do

    Tried a restore?
    See: How to restore the iPod to factory settings.

Maybe you are looking for