RE: Properly handling checkboxes

2002-09-25 Thread Douglas McKenzie
Problem with checkboxes is that they only exist and show a value if they have been checked. For instance, you might have input type=checkbox name=var value=foo If its checked when the form is submitted, you will have form.var and the value 'foo' to play with but if its not, then you get nothing

RE: Referencing a dynamically named form field

2002-09-20 Thread Douglas McKenzie
With radio boxes, only one value is passed thru ie whatever they clicked on so theres no need to reference them seperately. Try calling them all linkSection and see what happens. If you want more than one box to be selected, use checkbox instead. hth, Doug -Original Message- From:

RE: Just curious possible problem

2002-09-19 Thread Douglas McKenzie
try using sql so it would look like this: cfquery etcetc... INSERT INTO soldSteel (list of table fields) VALUES (#form.type_id#, etc etc ) /cfquery I've found cfinsert to be a bit strange in the past and using straight SQL normally sorts it out. Just make sure that the VALUES match the list of

RE: Just curious possible problem

2002-09-19 Thread Douglas McKenzie
Message- From: Douglas McKenzie [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 10:16 AM To: CF-Talk Subject: RE: Just curious possible problem try using sql so it would look like this: cfquery etcetc... INSERT INTO soldSteel (list of table fields) VALUES (#form.type_id#, etc etc

RE: Tracking first 'click' off of a home page

2002-09-19 Thread Douglas McKenzie
Dont think that would work if they were going off-site. How about setting up a referrer page that all the links on the front page go to and there you could record the click then send them on? -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED]] Sent: 19 September 2002 16:57

RE: cfinput

2002-09-19 Thread Douglas McKenzie
Yes you can. Check that your cfinputs are acceptable though: CF only accepts TEXT, RADIO, CHECKBOX, PASSWORD. For everything else, use input. specs are for cf4.5 - might have changed with 5 or MX. -Original Message- From: Nick Varner [mailto:[EMAIL PROTECTED]] Sent: 19 September 2002

RE: scientific characters

2002-09-18 Thread Douglas McKenzie
Find the ascii value for the character and do a ReReplace upon the info going into the text field should do it. Hold on, maybe the html encding doesnt understand the character (the email did nt either btw). Could it have something to do with the doctype of the html page? I know theres a set of