Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / June 2005



Tip: Looking for answers? Try searching our database.

Pass the value of a check box to action page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EdmondsM - 29 Jun 2005 19:27 GMT
Hi All, I know this is probably very simple but I can't figure it out.  I have
a checkbox on my forms page.  When a user checks any one of the boxes I want to
submit the name of the field to the database using the value= parameter.  If I
do something like the following I get a -1 in the database field

<cfinput type="checkbox" name="checkbox1" value="checkbox1">

How would I go about passing checkbox1 to the field in the databse.

Thanks in advance
Neculai Macarie - 30 Jun 2005 10:02 GMT
> Hi All, I know this is probably very simple but I can't figure it out.  I have
> a checkbox on my forms page.  When a user checks any one of the boxes I want to
[quoted text clipped - 4 lines]
>
>  How would I go about passing checkbox1 to the field in the databse.

I'm guessing that the database field type is numeric and you're trying to
insert a string into a numeric field...

Signature

<mack />

EdmondsM - 30 Jun 2005 12:39 GMT
Hey Mack, thanks for the response.  The field in the DB is text, an I am trying to pass text.  Now if I don't use flash it works fine.  But the client really wants the interface in flash.

Maurice
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.