cfdocument NullPointerException with form field input type = file

2013-08-02 Thread Britton Powers
PDF's are working fine in this application, so I removed various sections from the non-PDF-able page to see what specific part of the page might be causing the issue. The page contains an html form, and it turned out that if I removed one of the form controls -- a form input of type file (a file

Re: cfdocument NullPointerException with form field input type = file

2013-08-02 Thread Raymond Camden
, so I removed various sections from the non-PDF-able page to see what specific part of the page might be causing the issue. The page contains an html form, and it turned out that if I removed one of the form controls -- a form input of type file (a file upload control) -- then the PDF

Input are becoming disabled in IE

2012-02-06 Thread Chad Baloga
I am trying to troubleshoot why my text input fields are suddenly becoming disabled. I run something on the page and all inputs become disabled throughout the system until I refresh the browser. There are no JS errors or anything to indicate errors. I have the following on the page to re

Re: Input are becoming disabled in IE

2012-02-06 Thread Pradeep Viswanathan
you should use $(input).removeAttr(disabled); $(input).attr(disabled, false); will not work. Thanks and Regards, Pradeep Viswanathan R pradeepviswanatha...@gmail.com On Mon, Feb 6, 2012 at 9:09 PM, Chad Baloga cbal...@gmail.com wrote: I am trying to troubleshoot why my text input fields

Re: Santizing User Input

2012-02-02 Thread Andrew Grosset
The AntiSamy project is maybe the best way to sanitize any user input out there. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Thu, Feb 2, 2012 at 8:33 AM, douglas cohn douglas.c...@gmail.com wrote

Re: Santizing User Input

2012-02-02 Thread Andrew Grosset
I second that. The AntiSamy project is maybe the best way to sanitize any user input out there. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Thu, Feb 2, 2012 at 8:33 AM, douglas cohn douglas.c...@gmail.com wrote

Re: Santizing User Input

2012-02-02 Thread Gerald Guido
Sorry for the OT post but I could not help but think of Little Bobby Tables. http://imgs.xkcd.com/comics/exploits_of_a_mom.png G! On Thu, Feb 2, 2012 at 9:42 PM, Andrew Grosset rushg...@yahoo.com wrote: I second that. The AntiSamy project is maybe the best way to sanitize any user input

Santizing User Input

2012-02-01 Thread douglas cohn
the following (see below). What I am looking for is a way to control user input within CF. I found an MS page that has a VB script but would prefer something in CF. http://msdn.microsoft.com/en-us/library/ms525361%28v=vs.90%29.aspx From the Security Company You will need to make sure all user input

Re: Santizing User Input

2012-02-01 Thread Matt Quackenbush
below). What I am looking for is a way to control user input within CF. I found an MS page that has a VB script but would prefer something in CF. http://msdn.microsoft.com/en-us/library/ms525361%28v=vs.90%29.aspx From the Security Company You will need to make sure all user input is being

RE: Santizing User Input

2012-02-01 Thread Eric Roberts
You can wrap any user input in xmlformat() to rid yourself of any special characters. I would use that around the function that sends the stuff to your security software. -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Wednesday, February 01, 2012 3:46 PM

Re: Santizing User Input

2012-02-01 Thread Andrew Scott
The AntiSamy project is maybe the best way to sanitize any user input out there. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Thu, Feb 2, 2012 at 8:33 AM, douglas cohn douglas.c...@gmail.com wrote: I recently

Re: Sanitize input data for SQL

2010-11-09 Thread Azadi Saryev
that sanitizes input data, that is - escapes invalid code so as to prevent SQL injection and the like. I've have been unable to trap/filter the following: www.MyWebsite.com\index.cfm?start=-1%27 to keep it from emailing me an error message, and instead CFABORT or CFLOCATION to Home Page or some

Re: Sanitize input data for SQL

2010-11-09 Thread Mary Jo Sminkey
cfset city = model(Cities).findOne(where=id=#id# AND some_other_param=#param#) If you know it should only accept a numeric value, you can just throw in a Val() function and that will ensure nothing but numbers get passed ( e.g. id=#Val(id)# ). If you need to allow strings, and can restrict to

RE: Sanitize input data for SQL

2010-11-09 Thread Justin Scott
If you know it should only accept a numeric value, you can just throw in a Val() function and that will ensure nothing but numbers get passed ( e.g. id=#Val(id)# ). For numeric inputs that has been my standard for years: cfparam name=url.id default=0 / cfset url.id = abs(val(trim(url.id))) /

Re: Sanitize input data for SQL

2010-11-08 Thread Paul Smith
I need a cffunction similar to PHP's mysql_escape_string that sanitizes input data, that is - escapes invalid code so as to prevent SQL injection and the like. I've have been unable to trap/filter the following: www.MyWebsite.com\index.cfm?start=-1%27 to keep it from emailing me an error

How to Capture Field Name with Two Input Variables

2010-10-23 Thread Dakota Burns
Hi - I have a form that contains an outcome field, which has an _#ac_id appended to it so I can properly identify it (their can be many fields passed in). I seem to be at a loss for how to output what appears to be two variables as one ('#outcome_#ac_id##' -- see below query). Is their a way to

Re: How to Capture Field Name with Two Input Variables

2010-10-23 Thread Dave Watts
I have a form that contains an outcome field, which has an _#ac_id appended to it so I can properly identify it (their can be many fields passed in). I seem to be at a loss for how to output what appears to be two variables as one ('#outcome_#ac_id##' -- see below query). Is their a way to

Re: How to Capture Field Name with Two Input Variables

2010-10-23 Thread Arsalan Tariq Keen
try using: #Evaluate('outcome_#ac_id#')# Regards, Arsalan -- From: Dakota Burns dakota.bu...@gmail.com Sent: Saturday, October 23, 2010 9:34 PM To: cf-talk cf-talk@houseoffusion.com Subject: How to Capture Field Name with Two Input Variables

RE: How to Capture Field Name with Two Input Variables

2010-10-23 Thread Russ Michaels
with Two Input Variables Hi - I have a form that contains an outcome field, which has an _#ac_id appended to it so I can properly identify it (their can be many fields passed in). I seem to be at a loss for how to output what appears to be two variables as one ('#outcome_#ac_id##' -- see below

Re: How to Capture Field Name with Two Input Variables

2010-10-23 Thread enigment
Go with Form[outcome_ i], not Evaluate or '#form.outcome##form._ac_id#'. It's just way cleaner. d ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

Re: How to Capture Field Name with Two Input Variables

2010-10-23 Thread Dakota Burns
Outstanding response to my question here on CF-Talk! Thank you very much Dave, Arsalan, Russ, and Enigment -- the variety of your responses showing differing ways to accomplish this simple task is great. Thanks again! Dakota On Sat, Oct 23, 2010 at 11:34 AM, Dakota Burns

Re: PDF multi-line input

2010-06-02 Thread Roger Austin
On 6/1/2010 3:42 PM, Chad Gray wrote: Apprently chr(13) chr(10) represents a Windows newline. Carriage return-linefeed is what was used in teletype systems. It isn't a Windows thing specifically, but was the norm for many moons before other OS systems were developed. If you try to send just a

PDF multi-line input

2010-06-01 Thread Chad Gray
I have a PDF with a text field that is “Multi-Line”. You can type into it and use carriage return to write paragraphs of text. So I type in it and use a carriage return. Submit the form to a CFQuery and insert the data into a varchar field. I use CFPDF and CFPDFformparam to take the field

RE: PDF multi-line input

2010-06-01 Thread Robert Harrison
#replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# You need the ## around the characters. Otherwise you're looking to replace the literal string 'chr(10)'. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext.

Re: PDF multi-line input

2010-06-01 Thread Ian Skinner
On 6/1/2010 11:48 AM, Robert Harrison wrote: #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# You need the ## around the characters. Otherwise you're looking to replace the literal string 'chr(10)'. No you don't. #replace(FORM.Contact_Name, chr(10), chr(13))# Is perfectly fine and

RE: PDF multi-line input

2010-06-01 Thread Chad Gray
returns, but it submits to the update as double carriage returns. Im stumped! Chad -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Tuesday, June 01, 2010 3:05 PM To: cf-talk Subject: Re: PDF multi-line input On 6/1/2010 11:48 AM, Robert Harrison wrote: #replace

RE: PDF multi-line input

2010-06-01 Thread Chad Gray
To: cf-talk Subject: RE: PDF multi-line input Either way, it seems to be when I pull the data from the database and use CFPDFFORM and insert it back into the PDF. If I submit the PDF there are extra carriage returns in the data. Using the replace of chr(10) and chr(13) did not help either

Passing a variable for range to cfform text input field

2009-10-26 Thread Terry Troxel
Is it possible to use a variable in the range parameter in a CFinput text field? I have tried both cfinput type=Text name=test range=5,#var# required=No size=3 maxlength=3 And cfinput type=Text name=test range=5,var required=No size=3 maxlength=3 And it does not display the field in the form.

Re: input type of File in a cflayout tab

2009-09-29 Thread Kevin Huff
Just had a revelation as to what was happening. Then I checked back here and I got the same answer. Yeah I'm using a cfform because I'm using a cftextarea (love me some richtext editing) I'm wondering is there another way I can do this to make it work? Any ideas would be helpful.

Re: input type of File in a cflayout tab

2009-09-29 Thread Kevin Huff
Just had a revelation as to what was happening. Then I checked back here and I got the same answer. Yeah I'm using a cfform because I'm using a cftextarea (love me some richtext editing) I'm wondering is there another way I can do this to make it work? Any ideas would be helpful.

Re: input type of File in a cflayout tab

2009-09-29 Thread Raymond Camden
:38 PM, Kevin Huff kh...@tourandtravelnow.com wrote: I have this form, in a cflayout tab that I submit to a different page. The form has a input type file field in it. This works fine outside of the tab but within the tab the type file field always returns none. What is going on here? Any

Re: input type of File in a cflayout tab

2009-09-29 Thread Azadi Saryev
this post on ben's blog may help you create an 'ajax file upload' functionality: http://www.bennadel.com/blog/1244-ColdFusion-jQuery-And-AJAX-File-Upload-Demo.htm it does not go into processing data (file array) returned after uploading file, but if you know even a little bit of js you'll be

input type of File in a cflayout tab

2009-09-28 Thread Kevin Huff
I have this form, in a cflayout tab that I submit to a different page. The form has a input type file field in it. This works fine outside of the tab but within the tab the type file field always returns none. What is going on here? Any help would be great

Re: input type of File in a cflayout tab

2009-09-28 Thread Azadi Saryev
09:38, Kevin Huff wrote: I have this form, in a cflayout tab that I submit to a different page. The form has a input type file field in it. This works fine outside of the tab but within the tab the type file field always returns none. What is going on here? Any help would be great

input type=image onclick jscript

2009-07-20 Thread RamaDevi Dobbala
Hi frnds, How to call a javascript function on tdinput type=Image src=/images/search.gif width=55 height=22 onclick=callActionMethod('searchForm','search');return true; name=Searchbutton/td this function is not calling why? Rama

Re: input type=image onclick jscript

2009-07-20 Thread Randy Zeitman
My guess is because it's an input with type image so it's just going to submit instead of honor the onclick. Try onSubmit in the form tag. FORM ACTION=../cgi-bin/mycgi.pl NAME=testform onSubmit=return TestDataCheck() Hi frnds, How to call a javascript function

Re: input type=image onclick jscript

2009-07-20 Thread Randy Zeitman
My guess is because it's an input with type image so it's just going to submit instead of honor the onclick. Try onSubmit in the form tag. FORM ACTION=../cgi-bin/mycgi.pl NAME=testform onSubmit=return TestDataCheck() Hi frnds, How to call a javascript function

CFGRID (Flash) I need a checkbox as input

2009-03-02 Thread Scott Stewart
Hey all I'm displaying a bunch of data in a Flash CFGRID.. At the end of the row I'd like to add a column called Approve. Which would be a checkbox. I have two possible scenarios for updating the DB 1) I click the check box and the action page is called, the db is updated and the CFGRID

RE: CFGRID (Flash) I need a checkbox as input UPDATED

2009-03-02 Thread Scott Stewart
Raleigh, NC 27616 (h) 919.874.6229 (c) 703.220.2835 -Original Message- From: Scott Stewart [mailto:sstwebwo...@bellsouth.net] Sent: Monday, March 02, 2009 2:55 PM To: cf-talk Subject: CFGRID (Flash) I need a checkbox as input Hey all I'm displaying a bunch of data in a Flash CFGRID

Re: JRun Servlet Error when submitting form input type = file

2009-02-15 Thread Todd Carpenter
This error went away! I will try to get some more information about what happened and why... J I have the same problem, except that mine didn't go away. The simple upload script worked for a few weeks and then just stopped working and I got the same JRun error. It is failing on my

Re: JRun Servlet Error when submitting form input type = file

2009-01-15 Thread Jason Daniels
This error went away! I will try to get some more information about what happened and why... J ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

JRun Servlet Error when submitting form input type = file

2009-01-13 Thread Jason Daniels
is happening... please help! Here's the code: - body cfif isdefined(FORM.btnSubmit) cfdump var=#FORM# /cfif form action=test.cfm method=post enctype=multipart/form-data input type=text name=TestText value=Test Text / input type=file name=TestFile / input

Input more the one value

2008-11-11 Thread Alonso Viela
Hello I'm new in coldfusion and I try to create a input form, but instead I use a regular cfselect or select, I need to use table o grid to input some amount. the product type change according SQL table The main idea is input all prodcut for company in one time Any Advise Prod1 Prod2

not aligning correctly (space between label and input field, only in ie )

2008-09-08 Thread Eclectic User
#/cfoutput/cfif/td /tr I am having space between Address and input filed and its only in internet explorer (using ie 8). Please help ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

select input value selection problem

2008-08-11 Thread Eclectic User
tr tdCountry/td td select name=addr_country cfoutput query=getCountries option value=#getCountries.cty_iso2# cfif variables.addr_country eq getCountries.cty_iso2selectedcfelseif not len(trim(variables.addr_country)) and getCountries.cty_iso2 eq

select input value selection problem

2008-08-11 Thread Eclectic User
tr tdCountry/td td select name=addr_country cfoutput query=getCountries option value=#getCountries.cty_iso2# cfif variables.addr_country eq getCountries.cty_iso2selectedcfelseif not len(trim(variables.addr_country)) and getCountries.cty_iso2 eq

Re: Trying to read a text file of data and input into db...

2008-06-30 Thread Tom Chiverton
On Friday 27 Jun 2008, Rick Faircloth wrote: You weren't kidding when you said taking the load data infile approach was quick! And it's accurate, too! The data seems to be going in perfectly. Yup, it's ace. All with just this code: (spot any issues?) Looks like what we've got - except I

RE: Trying to read a text file of data and input into db...

2008-06-30 Thread Rick Faircloth
I explicitly define the field separators That's a good idea... -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2008 4:39 AM To: CF-Talk Subject: Re: Trying to read a text file of data and input into db... On Friday 27 Jun 2008, Rick

RE: Trying to read a text file of data and input into db...

2008-06-27 Thread Rick Faircloth
, 2008 10:31 AM To: CF-Talk Subject: Re: Trying to read a text file of data and input into db... On Thursday 26 Jun 2008, Rick Faircloth wrote: Hi, Tom... it's MySQL 5. By coincidence, I'm doing bulk loads into that too. You can use CFQUERY to do: LOAD DATA LOCAL INFILE '/a/file

RE: page self refresh whenever database gets new input

2008-06-27 Thread Dave Watts
Flex LiveCycle Data Services (http://www.adobe.com/products/livecycle/dataservices/) allows the server to push messages to the client which means a users page could refresh data without having to be refreshed or poll the server. I'm not sure how they do it, but it might be similar to

RE: Trying to read a text file of data and input into db...

2008-06-26 Thread Rick Faircloth
Here's my solution, for anyone interested: cfquery name=delete_offices datasource=#application.dsn# delete from hmls_office_temp /cfquery cfset filepath = e:\inetpub\webroot\real_estate_data\hmls\data\#DateFormat(now(), '_mmdd')#_idx_custom\office.txt cffile action = read file =

Re: Trying to read a text file of data and input into db...

2008-06-26 Thread Tom Chiverton
On Thursday 26 Jun 2008, Rick Faircloth wrote: I'm trying to read a tab-delimited text file of data and separate it into field data so I can input it into a database. Almost all databases have a special bulk import tool or command, which may or may not require cfexecute. What database

RE: Trying to read a text file of data and input into db...

2008-06-26 Thread Rick Faircloth
To: CF-Talk Subject: Re: Trying to read a text file of data and input into db... On Thursday 26 Jun 2008, Rick Faircloth wrote: I'm trying to read a tab-delimited text file of data and separate it into field data so I can input it into a database. Almost all databases have a special bulk

RE: Trying to read a text file of data and input into db...

2008-06-26 Thread Dave Francis
file of data and input into db... Hi, Tom... it's MySQL 5. The code in my last email is working properly. However, now I have a problem executing this: cfschedule action = run task = 02_Process HMLS Office Data Text File

Re: Trying to read a text file of data and input into db...

2008-06-26 Thread Tom Chiverton
On Thursday 26 Jun 2008, Rick Faircloth wrote: Hi, Tom... it's MySQL 5. By coincidence, I'm doing bulk loads into that too. You can use CFQUERY to do: LOAD DATA LOCAL INFILE '/a/file/on/the/web.server' INTO TABLE demoTable FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '' LINES TERMINATED BY

RE: Trying to read a text file of data and input into db...

2008-06-26 Thread Rick Faircloth
Thanks for the suggestion, Tom. I may need to go that route. Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2008 10:31 AM To: CF-Talk Subject: Re: Trying to read a text file of data and input into db... On Thursday 26 Jun 2008

RE: Trying to read a text file of data and input into db...

2008-06-26 Thread Rick Faircloth
- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2008 10:13 AM To: CF-Talk Subject: RE: Trying to read a text file of data and input into db... From a CF5 lang ref, so may be out of date... Is the task registered? Also try for startdate format. And you don't need

Trying to read a text file of data and input into db...

2008-06-25 Thread Rick Faircloth
Hi, all... I'm trying to read a tab-delimited text file of data and separate it into field data so I can input it into a database. I can read the file, and output the entire contents, but nothing I tried worked to output the contents into separate pieces of data and separate records. The code

RE: Trying to read a text file of data and input into db...

2008-06-25 Thread Dave Francis
:26 PM To: CF-Talk Subject: Trying to read a text file of data and input into db... Hi, all... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk

RE: Trying to read a text file of data and input into db...

2008-06-25 Thread Rick Faircloth
Subject: RE: Trying to read a text file of data and input into db... Off the top of my head, shouldn't it be cfoutput#record#/cfoutput? And I know you said tab-delimited, but have you confirmed that it really is? ie what does listlen(list,Chr(09)) give you

RE: Trying to read a text file of data and input into db...

2008-06-25 Thread Rick Faircloth
/cfoutput cfelse cfset firstline = false /cfif /cfloop -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 10:59 PM To: CF-Talk Subject: RE: Trying to read a text file of data and input into db... Hi

RE: Trying to read a text file of data and input into db...

2008-06-25 Thread Rick Faircloth
Oops... list=hmls_offices should have been list = #hmls_offices# Now, I get an error stating: Expression Exception - in E:\Inetpub\webroot\c21-ar-homesite\tasks\0_process_hmls_offices_text_file.cfm : line 14 Invalid list index 3. (Index 3 is the cfset street_no_street_name... line) Thoughts?

RE: Trying to read a text file of data and input into db...

2008-06-25 Thread Rick Faircloth
:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 11:40 PM To: CF-Talk Subject: RE: Trying to read a text file of data and input into db... Oops... list=hmls_offices should have been list = #hmls_offices# Now, I get an error stating: Expression Exception - in E:\Inetpub\webroot\c21-ar

Re: Trying to read a text file of data and input into db...

2008-06-25 Thread Charlie Griefer
On Wed, Jun 25, 2008 at 8:47 PM, Rick Faircloth [EMAIL PROTECTED] wrote: I think I see what's happening... when the file is read with cffile, the variable, hmls_offices, apparently has all the chr(9)'s, chr(10)'s, and chr(13)'s stripped out. those characters aren't rendered by the browser, so

RE: page self refresh whenever database gets new input

2008-06-23 Thread Brad Wood
PROTECTED] Sent: Friday, June 20, 2008 10:24 PM To: CF-Talk Subject: page self refresh whenever database gets new input Hi, I'm having a system that has two different consoles one for people input data, and other for people view data. One isn't connected to the other. Meaning, they work separatedly

Re: page self refresh whenever database gets new input

2008-06-21 Thread Dominic Watson
This would involve a client side language (ie. javascript) to repeatedly request the new info; ColdFusion can only act server side. I'd say some kind of AJAX setup will be the ideal solution as opposed to some javascript that constantly auto-refreshes the page. HTH Dominic 2008/6/21 Will

Re: page self refresh whenever database gets new input

2008-06-21 Thread anthony tran
Thanks, but forgive me, I don't know AJAX much. Coule you please give some example code.? Let's say: table user is used by both consoles, sys admin section and enrole section. Whenever a new user submit an enrolment, sys admin can see the new user from the sys admin page Thanks

RE: page self refresh whenever database gets new input

2008-06-21 Thread Eric Roberts
I would jus have a periodic refresh of the page...there is nothing that could detect a change then cause a refresh that I could think of...though that would be cool. Set a metataq refresh to occur every x number of seconds as appropriate for the frequency of user input. Even outlook checks mail

Re: page self refresh whenever database gets new input

2008-06-21 Thread Dominic Watson
I can't give you sample code, no. It is far too broad a topic and there is heaps of info at the end of a search engine. However, the idea would be something like: Sys admin page Do Loop every x seconds Request user data through js ajax - request would be to a url that

page self refresh whenever database gets new input

2008-06-20 Thread anthony tran
Hi, I'm having a system that has two different consoles one for people input data, and other for people view data. One isn't connected to the other. Meaning, they work separatedly but at the same time. If there is a new input, then the new input will show on the diplay console right away

Re: page self refresh whenever database gets new input

2008-06-20 Thread Will Tomlinson
he idea similar to MS Outlook. Whenever a new mail comes, it just shows up by itself. Or just like a stock reports with live feeding. Is there any way to do this in cold fusion ? Database is MS Access. Thanks Sounds like you just need some SQL to show the newest items first. ORDER

Re: CF, Safari, and No Form Variable if Input Type='File'?

2008-05-26 Thread Didgiman
: I've got the following simple form: -- form action=index.cfm?go=Load method=post name=LoadForm divChoose File/div input type=file name=filename input type=submit/ /form

Re: CF, Safari, and No Form Variable if Input Type='File'?

2008-05-26 Thread Will Tomlinson
Why is ColdFusion not getting the file information? And if Safari isn't passing back the necessary html form field information when type = 'file' how do I code around that behavior? Yeah, That used to catch me when I first started building file upload tools. The first thing you should

CF, Safari, and No Form Variable if Input Type='File'?

2008-05-26 Thread Matthew Reinbold
I've got the following simple form: -- form action=index.cfm?go=Load method=post name=LoadForm divChoose File/div input type=file name=filename input type=submit/ /form

Checkbox Input Type Condition

2008-04-03 Thread Steve LaBadie
I have a form which in part includes the option of checking a workshop (4 different workshops in all) and a place for the number of attendees. Workshop 1:input type=checkbox name=wrkshp value=Workshop 1 / Attendees:input type=text name=att1 / Workshop 2:input type=checkbox name=wrkshp value

Re: Checkbox Input Type Condition

2008-04-03 Thread Kris Jones
of attendees. Workshop 1:input type=checkbox name=wrkshp value=Workshop 1 / Attendees:input type=text name=att1 / Workshop 2:input type=checkbox name=wrkshp value=Workshop 2 / Attendees:input type=text name=att2 / Workshop 3:input type=checkbox name=wrkshp value=Workshop 3

Select different records based on user input.

2007-12-27 Thread George Linderman
Hey guys, I have a real simple problem here, but unfortunately, I can't seem to figure it out. I'm developing a site where there are different items that are listed, by using a loop on a database. Really simple stuff, just looping the row in the table with the different fields from the

RE: Select different records based on user input.

2007-12-27 Thread Ben Forta
-Original Message- From: George Linderman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2007 9:13 AM To: CF-Talk Subject: Select different records based on user input. Hey guys, I have a real simple problem here, but unfortunately, I can't seem to figure it out. I'm developing a site where

Re: Select different records based on user input.

2007-12-27 Thread George Linderman
Wow, I appreciate the quick response. That solved the problem perfectly! Thank you very much. Now I'm inspired to buy your CF8 books :) Do you want to OR or AND those fields? If OR, the SQL IN clause lets you specify a list if values, something like WHERE key IN (117,123,141). So, if #cb# is

Re: Select different records based on user input.

2007-12-27 Thread Dave l
be sure to pick up this one as well http://www.amazon.com/Sams-Teach-Yourself-SQL-Minutes/dp/0672325675/ref=pd_bbs_sr_3?ie=UTF8s=booksqid=1198826200sr=8-3 and if you are using mysql then get his crash course one instead the one above..

cfmail, html, and submit button input type=image

2007-11-29 Thread Richard Steele
head meta http-equiv=content-type content=text/html ; charset=iso-8859-1 /head body form action=https://www.paypal.com/cgi-bin/webscr; method=post input type=image src=http://www.visitcenter.org/center/x-click-but02.gif; border=0 name=submit alt

Re: cfmail, html, and submit button input type=image

2007-11-29 Thread Claude Schneegans
Your button is of type image. Even if you call it submit, it won't submit the form. You could use an onClick event to submit the form, but most eMail readers won't execute Javascript, so better use a standard submit button. -- ___ REUSE CODE! Use custom

Cold fusion do not support input param: Help

2007-11-19 Thread Tarek Jubaer
Cold fusion do not support input param array like below: input type='hidden' name='hid_id[]' value='1' input type='hidden' name='hid_id[]' value='2' input type='hidden' name='hid_id[]' value='3' Whereas PHP can handle it as an array. But i have a code which will display some events

RE: Cold fusion do not support input param: Help

2007-11-19 Thread Dave Watts
Cold fusion do not support input param array like below: input type='hidden' name='hid_id[]' value='1' input type='hidden' name='hid_id[]' value='2' input type='hidden' name='hid_id[]' value='3' Whereas PHP can handle it as an array. But i have a code which will display some events

Re: Cold fusion do not support input param: Help

2007-11-19 Thread Brian Kotek
I wrote a CFC that will parse arbitrarily nested structures, arrays, arrays of structures, etc., based on the form field name(s). http://formutils.riaforge.org/ On Nov 19, 2007 11:47 PM, Tarek Jubaer [EMAIL PROTECTED] wrote: Cold fusion do not support input param array like below: input type

Posted input array problem

2007-11-12 Thread Tarek Jubaer
Hi I am trying to get value from posted input array (input type='hidden' name='inp[]' value='1' input type='hidden' name='inp[]' value='2' input type='hidden' name='inp[]' value='3'). But from the article http://www.christian-web-masters.com/forums/index.php?showtopic=10873 i found

Re: Posted input array problem

2007-11-12 Thread Ryan Stille
trying to get value from posted input array (input type='hidden' name='inp[]' value='1' input type='hidden' name='inp[]' value='2' input type='hidden' name='inp[]' value='3'). But from the article http://www.christian-web-masters.com/forums/index.php?showtopic=10873 i found

Next time somebody asks about input validation for security...

2007-11-07 Thread Jim Davis
show them this: http://xkcd.com/327/ (Most of them are good... this one just happens to appropriate.) Jim Davis ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today

RE: CFWINDOW Input Focus

2007-10-17 Thread Dale Fraser
PROTECTED] Sent: Wednesday, 17 October 2007 8:41 AM To: CF-Talk Subject: CFWINDOW Input Focus I'm having trouble trying to focus to a form field that is contained in a CFWINDOW. Is there a trick to this. I've tried lots of combos with no luck Regards Dale Fraser http://learncf.com

CFWINDOW Input Focus

2007-10-16 Thread Dale Fraser
I'm having trouble trying to focus to a form field that is contained in a CFWINDOW. Is there a trick to this. I've tried lots of combos with no luck Regards Dale Fraser http://learncf.com ~| Get involved in the

CFGRID Input Types

2007-10-05 Thread Dale Fraser
in an editable cell. Is this possible, I saw they do it on Ext docs. I can put them in just by placing the input type=checkbox type of code as the cell value, but I would prefer that they were bound to the data set. If it's not possible, I could probably do it with a lot of workarounds

Re: CFGRID Input Types

2007-10-05 Thread Andrew Scott
in just by placing the input type=checkbox type of code as the cell value, but I would prefer that they were bound to the data set. If it's not possible, I could probably do it with a lot of workarounds. Regards Dale Fraser http://learncf.com

Call For Input: Document Revision Comments

2007-06-22 Thread Cutter (CFRelated)
Looking for everyone's input on an issue. Trying to see how the community-at-large deals with this situation. See details, and please comment, over on my blog: http://blog.cutterscrossing.com/index.cfm/2007/6/22/Call-For-Input-Document-Revision-Comments -- Steve Cutter Blades Adobe Certified

adding form input fields

2007-04-23 Thread Dave Francis
How would one go about adding another text input field to a form when a user clicks a more button? I'm open to anything - Javascript, cfform, Flash forms. If you say Ajax please try and be a bit specific as I've never used it. TIA, Dave

RE: adding form input fields

2007-04-23 Thread Ian Skinner
I do this all the time with JS. My basic process is to create a JS variable that represents a DOM node of the field(s) I want to add when the control as clicked. Then some simple JS on that event can add a copy of the node to the document. Confidentiality Notice: This message including any

Re: adding form input fields

2007-04-23 Thread Jochem van Dieten
Dave Francis wrote: How would one go about adding another text input field to a form when a user clicks a more button? Put the field in your form and hide it with CSS / javascript until the user clicks the more button. If you use the same technique for hiding (i.e. the same DOM methods

Re: adding form input fields

2007-04-23 Thread Josh Nathanson
How would one go about adding another text input field to a form when a user clicks a more button? I'm open to anything - Javascript, cfform, Flash forms. If you say Ajax please try and be a bit specific as I've never used it. This is the kind of thing jQuery makes very easy - you don't

RE: adding form input fields

2007-04-23 Thread Dave Francis
is clicked. Josh, Can jQuery do this? What's the learning curve? (I'm old and slow) Again, TIA Dave -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 11:27 AM To: CF-Talk Subject: Re: adding form input fields

Re: adding form input fields

2007-04-23 Thread Josh Nathanson
Josh, Can jQuery do this? What's the learning curve? (I'm old and slow) It sure can...not that you couldn't do this in JS from scratch, but jQuery will make it easier. Just to qualify, there's no magic bullet in jQuery that will automatically do this for you - you'll still have to write some

RE: adding form input fields

2007-04-23 Thread Bobby Hartsfield
Look into the javascripts createElement(). I posted a detailed working example a while back. You could check the archives for it too. -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 1:02 PM To: CF-Talk Subject: adding form input fields How

  1   2   3   4   5   6   7   8   >