Line breaks being lost in textarea form field

2015-03-08 Thread Mark Spence
I don't know if this specifically a CF question so sorry if it is considered OT. I have an admin section of the site that lets the owner add and edit items/products. I am having an issue with the description field where the newline/enter key input is being lost when editing an entry. To give

Re: Line breaks being lost in textarea form field

2015-03-08 Thread Byron Mann
I would view the source to see if the subsequent form edit has line breaks. If not this would indicate the data is not being saved as it was entered. You could also copy and paste the data out of the database into notepad or something, to see how the data is actually being stored. On Mar 8, 2015

Submitting form with file and CFGRID - Exception in The submitted cfgrid form field is corrupt

2014-10-22 Thread Chad Baloga
I have a form with a file upload and a CFGRID. When submitted the following error occurs: Exception in The submitted cfgrid form field is corrupt This works with CF10 Update 13. When we upgraded to Update 14 this error started occurring

form design issues; cfinput autosuggest vs cfgrid

2014-02-19 Thread Michael Gueterman
(sorry in advance is this is a double post) I've got a form layout with a header on top that includes a cfinput using autosuggest, then below that a cflayout type=tab. The drop down produced by the autosuggest normally appears fine unless the cflayoutarea contains a cfgrid. In that case

cftextarea to PDF form

2013-11-25 Thread Kevin Byrne
We are using Cold Fusion 8. I created a text box on a form using cftextarea, which uses FCKeditor that came with CF8. When I try to populate a PDF form using cfpdfform/cfpdfformparam the embedded HTML shows as plain text. For example: If I input This is bold, the pdf form output shows

Re: cftextarea to PDF form

2013-11-25 Thread Russ Michaels
. I created a text box on a form using cftextarea, which uses FCKeditor that came with CF8. When I try to populate a PDF form using cfpdfform/cfpdfformparam the embedded HTML shows as plain text. For example: If I input This is bold, the pdf form output shows bThis is bold/b. How do I

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

Re: Form Fields suddenly self validating? Now required?

2013-05-22 Thread Russ Michaels
That . Sounds like a very handy new feature of html5' One less thing to code Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On 22 May 2013 01:41, Chester Austin chesteraus...@gmail.com wrote: It sounds like

Form Fields suddenly self validating? Now required?

2013-05-21 Thread Jeff F
Hey everyone, I have a very old site that has a basic form. All of a sudden, the form is requiring all form form fields to be filled out? The form is a basic form action=, and I've got required=no on the fields. What's interesting is that the validation results are quite nice looking

Re: Form Fields suddenly self validating? Now required?

2013-05-21 Thread Matt Quackenbush
everyone, I have a very old site that has a basic form. All of a sudden, the form is requiring all form form fields to be filled out? The form is a basic form action=, and I've got required=no on the fields. What's interesting is that the validation results are quite nice looking, almost

Re: Form Fields suddenly self validating? Now required?

2013-05-21 Thread Russ Michaels
are you using CFFORM or just FORM ? On Tue, May 21, 2013 at 11:37 PM, Matt Quackenbush quackfu...@gmail.comwrote: Link(s)? CF cannot do anything on the client side (i.e. in the browser). JavaScript is required for any validation to take place on the client side. Without seeing code

Re: Form Fields suddenly self validating? Now required?

2013-05-21 Thread Justin Scott
optional, its mere presence will make the field required). The required attribute wasn't valid in previous versions of HTML, so if you're passing it within a direct input or other form tag it would have been previously ignored by the browser, but if it's now rendering your page as HTML 5 then it has

Re: Form Fields suddenly self validating? Now required?

2013-05-21 Thread Rodney Enke
As Justin mentioned, if the page was recently changed to an html 5 doctype setting required to any value evaluates to true. Try remove the required attribute completely. You can also add novalidate to the form tag. On Tue, May 21, 2013 at 6:41 PM, Russ Michaels r...@michaels.me.uk wrote

Re: Form Fields suddenly self validating? Now required?

2013-05-21 Thread Chester Austin
It sounds like the browser's built in validation is kicking in. Try it with a different browser and you would most likely get different results. Get rid of the required attribute in your input fields and it should work like it used to. Unless you want the browser to handle some of the

Re: Form Fields suddenly self validating? Now required?

2013-05-21 Thread Chester Austin
Sorry if this is a repost. I'm not sure if the form is submitting. It sounds like the browser's built in validation is kicking in. Try it with a different browser and you would most likely get different results. Get rid of the required attribute in your input fields and it should work like

Form submission error

2013-05-02 Thread Matthew S Blatchley
I'm trying to fix a page that was working at one time and now I'm getting some odd behavior. The form is pretty large and has well over 100 fields. When I submit the form I get an 500 error in IE. In Firefox, the form posts to a blank page and Firebug throws this error in the console

Re: Form submission error

2013-05-02 Thread Raymond Camden
Boom: http://stackoverflow.com/questions/15182567/coldfusion-9-html-form-500-internal-server-error On Thu, May 2, 2013 at 1:19 PM, Raymond Camden raymondcam...@gmail.comwrote: ColdFusion will block a form post with too many form fields. In CF10, you can go into the Admin and tweak

Re: Form submission error

2013-05-02 Thread Raymond Camden
ColdFusion will block a form post with too many form fields. In CF10, you can go into the Admin and tweak the # (default is 100), in CF9 I believe it is some XML file. Will try to grab that doc for you. On Thu, May 2, 2013 at 12:57 PM, Matthew S Blatchley blatch...@gmail.comwrote: I'm trying

Fwd: Form submission error

2013-05-02 Thread Matt Blatchley
Thanks Craig, That's exactly what it was. http://helpx.adobe.com/coldfusion/release-note/coldfusion-9-0-update-2.html I'm trying to fix a page that was working at one time and now I'm getting some odd behavior. The form

RE: Form submission error

2013-05-02 Thread Matthew S Blatchley
Thanks Ray, I got it working now! It's in the neo_runtime.xml file. Appreciate the help as always :) Matt ColdFusion will block a form post with too many form fields. In CF10, you can go into the Admin and tweak the # (default is 100), in CF9 I believe it is some XML file. Will try to grab

Fill in form with information from Select dropdown

2013-04-10 Thread Mallory Woods
of it as a selection of States for the US. When the user selects a state, a query should be run that will then fill in the rest of the form. The remainder of the form of the does have other select drop downs that should have a specific dropdown selected from the query that was returned. The rest

Re: Trying to check if username exists in table prior to form submit

2013-04-09 Thread Dustin Lennon
There anyone that can assist me in this? I've been trying for some time trying to get various examples that I've found online how to do this, but none seem to do any checking after I leave the input field that contains the username to be checked. I'll first post the link to my work in

Re: Trying to check if username exists in table prior to form submit

2013-04-09 Thread Nathan Strutz
check on the server side, after they submit the form, because javascript can be pretty easily bypassed, or errors like this can cause it to not validate on the client side. Another thing, you've written a lot of jQuery to be hardcoding an onChange event on your html input element. You can

Trying to check if username exists in table prior to form submit

2013-04-08 Thread Dustin Lennon
I've been trying for some time trying to get various examples that I've found online how to do this, but none seem to do any checking after I leave the input field that contains the username to be checked. I'll first post the link to my work in progress and then post my code to my .cfm and

Re: Changing bind value in form field: RESOLVED

2013-02-20 Thread Jaime Muniz
for such a simple task. However, I could figure out how to do in the client side. Regards, Jaime On 2/19/2013 4:43 PM, Jaime Muniz wrote: I have a form in which I want to copy a field using bind like this: cfinput type=text name=fieldname bind={Tubes}/ This works great except what I would really

Changing bind value in form field

2013-02-19 Thread Jaime Muniz
I have a form in which I want to copy a field using bind like this: cfinput type=text name=fieldname bind={Tubes}/ This works great except what I would really like to do is subtract 1 form the bind value. I searched Google and found post that suggested this: cfinput type=text name=fieldname

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-18 Thread Che Vilnonis
Al, I see values like this all of the time. In most cases, I'll see values like -1, -1' or 1' for input fields. I use a custom function to scan all form vars and if there is a match... I typically ban the IP address for a period of time. You'll *likely* find a pattern to the IP addresses

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-17 Thread Al Musella, DPM
I added another filter today... I have always checked all form submissions for the bad keywords but I noticed that many of the attacks seem to start with them entering 1 or -1 as the first and or last name. Probably too lazy to put more keystrokes in when they are setting up the script. So now

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-17 Thread Les Mizzell
Anyone else seeing a lot of form submissions with -1 or 1 as the name? Yup - I get that sometimes. Or, an attempt to enter the same web or email address entered into EVERY field. and I'm still getting weird *something* errors sent to me from a site that look like: mypate.cfm?action

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-16 Thread Rick Faircloth
What would be an appropriate length of time for a session variable for a hacker who's doing what you described: If they read in the form page and then submit it using a script for many days without re-reading the original form it will appear to the server that they took days to fill. Would

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-16 Thread Al Musella, DPM
doing what you described: If they read in the form page and then submit it using a script for many days without re-reading the original form it will appear to the server that they took days to fill. Would the same hold true for session session variables

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-15 Thread Revolution
Subject: Re: Problem with Hackers on Donation form through Authorize.net As an FYI, my blog never had a lot of spam, but it was pretty regular. When I started using CFFP, it dropped dramatically. I can't even remember my last spam comment. On Mon, Feb 11, 2013 at 10:43 AM, Rick Faircloth r

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-15 Thread Raymond Camden
to write my own. Your blog is running CF ? -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Monday, February 11, 2013 11:46 AM To: cf-talk Subject: Re: Problem with Hackers on Donation form through Authorize.net As an FYI, my blog never had a lot of spam

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-15 Thread Al Musella, DPM
You have to be careful not to interfere with normal donations. When I fill out forms using chrome, chrome fills in my name, address and phone number. It might take me only 15 seconds to fill out my donation form.. You can determine if he bypasses your form by setting a cookie on the form

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-15 Thread Rick Faircloth
You have to be careful not to interfere with normal donations. When I fill out forms using chrome, chrome fills in my name, address and phone number. It might take me only 15 seconds to fill out my donation form.. Yes, I've thought about that. There's some sections of the form

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-15 Thread Al Musella, DPM
If they read in the form page and then submit it using a script for many days without re-reading the original form, it will appear to the server that they took days to fill. So testing for more than a few hours should be good... sessions might work but they should expire quickly

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-14 Thread UXB
I wonder if the hacker can still submit the form with JavaScript turned off? How would I go about determining just what the hacker's process is? At a base level they can copy your form page to their local server then manipulate the form submitting it to your cfc directly. I have seen people

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-13 Thread Rick Faircloth
Thanks for the feedback, Justin... -Original Message- From: Justin Scott [mailto:leviat...@darktech.org] Sent: Tuesday, February 12, 2013 6:01 PM To: cf-talk Subject: Re: Problem with Hackers on Donation form through Authorize.net Forget the form page the bots/humans are not even

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-13 Thread Rick Faircloth
Thanks, Dennis! -Original Message- From: UXB [mailto:denn...@uxbinternet.com] Sent: Tuesday, February 12, 2013 5:31 PM To: cf-talk Subject: RE: Problem with Hackers on Donation form through Authorize.net button for my form is just a regular button that triggers an AJAX function

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-13 Thread UXB
Part of the verification in the processing can be reliant upon something executing in JavaScript and being passed in with the form submission. While I do not disagree with your statements anything that is part of the form data that can be generated by JavaScript can be submitted without

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-13 Thread Rick Faircloth
moved on to another target for awhile. When (not if...) it starts up again, I'm going to try the javascript timing function, timing when a form element is first clicked and making sure it takes at least 2 minutes until the form is submitted, or I'll fail the transaction. None of the hacker's

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Rick Faircloth
Looks interesting. IP-based blocking may be a good way to go for my donation form. -Original Message- From: Al Musella, DPM [mailto:muse...@virtualtrials.com] Sent: Tuesday, February 12, 2013 12:07 AM To: cf-talk Subject: Re: Problem with Hackers on Donation form through Authorize.net

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Rick Faircloth
Another good thought! Thanks! -Original Message- From: Byron Mann [mailto:byronos...@gmail.com] Sent: Tuesday, February 12, 2013 1:57 AM To: cf-talk Subject: Re: Problem with Hackers on Donation form through Authorize.net A fairly inexpensive and easy to implement fraud screening

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Peter Donahue
Good morning everyone, That verification solution will also work with screen readers making it possible for disabled Web surfers to use that form. Good going although CFFormProtect would eliminate the captcha all together. Peter Donahue - Original Message - From: Al Musella

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Al Musella, DPM
Your right we do routinely get real donations from a few places like Puerto Rico and Mexico (which both happen to be part of north america)... as well as most of Europe and Japan. We actually got real donations from China and even Nigeria so we can't block any coutry outright. So I

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Justin Scott
We had another run of someone trying yesterday.. I detected it on the 3rd attmept (all of which failed).. then he (or she) tried about 30 more times where I just sent the fake failure notice without letting it hit the credit card processor. I like this approach on two fronts. First it

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Rick Faircloth
All of my attempts over the last couple of months have been under 2 minutes apart. It takes a lot longer than that to fill out the donation form. I think I'm going to try a timing function to determine the time of the first click of the form and the click of the submit button, and if the times

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Rick Faircloth
: Problem with Hackers on Donation form through Authorize.net We had another run of someone trying yesterday.. I detected it on the 3rd attmept (all of which failed).. then he (or she) tried about 30 more times where I just sent the fake failure notice without letting it hit the credit card

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Claude Schnéegans
If so, this won't work because I don't use an actual button with a type of submit. The submit button for my form is just a regular button that triggers an AJAX function that sends the data to a CFC for further processing and then submission in the CFC to Authorize.net. From this you can

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread UXB
button for my form is just a regular button that triggers an AJAX function that sends the data to a CFC for further processing and then submission Forget the form page the bots/humans are not even seeing it they are attacking your processing cfc directly. Your protection has to be server

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Justin Scott
Forget the form page the bots/humans are not even seeing it they are attacking your processing cfc directly. Your protection has to be server side since any JavaScript on the form page is ignored. They are submitting form data directly to your CFC processing page. Part

Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Rick Faircloth
Hi, guys... I'm been running my first eCommerce setup with a donation page/form using Authorize.net. Things have been running fine, excepts for spammers using the donation form to find legitmate CC numbers so they could abuse the card in other ways. I've assumed, up to this point

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Dave Watts
I realize that if someone is hiring cheap human labor for $1 per day to sit and enter form info, that I can't stop that, but if it is bots doing the spamming, will making CF captcha more difficult to read have a good chance of stopping the bots, or do I need to get with reCaptcha. I like

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Rick Faircloth
Subject: Re: Problem with Hackers on Donation form through Authorize.net I realize that if someone is hiring cheap human labor for $1 per day to sit and enter form info, that I can't stop that, but if it is bots doing the spamming, will making CF captcha more difficult to read have a good

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Raymond Camden
on Donation form through Authorize.net I realize that if someone is hiring cheap human labor for $1 per day to sit and enter form info, that I can't stop that, but if it is bots doing the spamming, will making CF captcha more difficult to read have a good chance of stopping the bots, or do I

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Rick Faircloth
Thanks for the feedback, Ray, Dave... Does CFFormProtect actually submit a form? I haven't parsed through the code, yet, but I'm trying to determine if it just runs some tests for validation or does it continue on to submit the form. The form and processing I've code is quite extensive

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Raymond Camden
... Does CFFormProtect actually submit a form? I haven't parsed through the code, yet, but I'm trying to determine if it just runs some tests for validation or does it continue on to submit the form. The form and processing I've code is quite extensive and involves jQuery on the client side

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Rick Faircloth
After more unsuccessful testing, I'm assuming that the form button at the end of the form needs to be an actual button with a type of submit to work with CFFormProtect? If so, this won't work because I don't use an actual button with a type of submit. The submit button for my form is just

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Raymond Camden
On Mon, Feb 11, 2013 at 1:45 PM, Rick Faircloth r...@whitestonemedia.comwrote: After more unsuccessful testing, I'm assuming that the form button at the end of the form needs to be an actual button with a type of submit to work with CFFormProtect? Not as far as I know. I'm a bit rusty

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Al Musella, DPM
I have just gone through this... A big problem is that the owner complains and the credit card company charges you a penalty and if many get through they can dump you. At first, I banned the IP address when someone tried 3 times unsuccessfuly. That worked for about a day then they would

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Rick Faircloth
- From: Al Musella, DPM [mailto:muse...@virtualtrials.com] Sent: Monday, February 11, 2013 4:32 PM To: cf-talk Subject: RE: Problem with Hackers on Donation form through Authorize.net I have just gone through this... A big problem is that the owner complains and the credit card company charges

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Les Mizzell
One site of mine for a dance company used to get a ton of spam through contact forms. Everybody hated CAPTCHA, so I put a simple question with radio button choices: A cow goes? a. quack b. woof c. moo d. chirp VERY low tech, but believe it or not, we've not gotten a single piece of bot spam

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Rick Faircloth
Boy was that a stupid, not-thought-out approach! I was so focused on separating the spamming humans from the spamming bots, I came up with a solution that wouldn't let human or bot submit a form, whether the human was a legitimate donor, or not! Duh! (It's been a long day... time to go

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Al Musella, DPM
I came across an interesting way to get the country from the IP address.. http://www.mximize.com/getting-country-by-ip-based-on-geolite I might set this up and block non North American IPs... At 04:43 PM 2/11/2013, Les Mizzell wrote: One site of mine for a dance company used to get a ton of

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Byron Mann
, 2013 11:13 AM, Rick Faircloth r...@whitestonemedia.com wrote: Hi, guys... I'm been running my first eCommerce setup with a donation page/form using Authorize.net. Things have been running fine, excepts for spammers using the donation form to find legitmate CC numbers so they could abuse

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-11 Thread Paul Hastings
On 2/12/2013 12:06 PM, Al Musella, DPM wrote: I came across an interesting way to get the country from the IP address.. http://www.mximize.com/getting-country-by-ip-based-on-geolite I might set this up and block non North American IPs... i would check w/your client first. not everybody

Re: form-post to SQL-insert creates double-entry

2013-01-16 Thread Carl Von Stetten
If you add a name attribute to your submit button: input type=submit name=submit value=Enter New Donor then when the form is submitted, there will be a corresponding submit key added to the form scope. Then, as others have suggested, wrap your query in: cfif StructKeyExists(form, submit

form-post to SQL-insert creates double-entry

2013-01-15 Thread B Griffith
in the code below and are probably pretty self-explanatory. I have tried creating an empty structure called 'form' before applying the code and finally settled on a block of cfparam statements to set the vars to a default. I can't see a way around this because NOT doing so causes the form to indeed show

Re: form-post to SQL-insert creates double-entry

2013-01-15 Thread John M Bliss
fields: kcid (auto-incrementing PK/UID for the database) and the other five which you see in the code below and are probably pretty self-explanatory. I have tried creating an empty structure called 'form' before applying the code and finally settled on a block of cfparam statements to set

RE: form-post to SQL-insert creates double-entry

2013-01-15 Thread Dave Jemison
the query to only fire if the form has been submitted: cfif IsDefined(FORM) cfquery name=addDonor datasource=test INSERT INTO DONOR (first,last,flag,supe,phone) VALUES ('#form.first#','#form.last#','#form.flag#','#form.supe#','#form.phone#') /cfquery /cfif Additionally, you need to do some data

RE: form-post to SQL-insert creates double-entry

2013-01-15 Thread Dave Jemison
Oops- forgot that you had CFPARAMs for all the variables. You'd need to remove those with the cfif IsDefined(FORM) conditional. -Original Message- From: Dave Jemison [mailto:djemi...@vinesse.com] Sent: Tuesday, January 15, 2013 12:46 PM To: 'cf-talk@houseoffusion.com' Subject: RE: form

Re: form-post to SQL-insert creates double-entry

2013-01-15 Thread Matt Quackenbush
You are running the insert query each time you load the page. Remove your cfparams on the form fields, and wrap the query in an cfif. cfif !structIsEmpty( form ) !--- insert query here --- /cfif HTH On Tue, Jan 15, 2013 at 2:34 PM, B Griffith br.griff...@yahoo.com wrote: Hello All

RE: form-post to SQL-insert creates double-entry

2013-01-15 Thread Leigh
cfif IsDefined(FORM) The FORM structure itself always exists. So the check needs to be on one of the individual fields, or you could check whether it is non-empty like Matt suggested. As an aside, once you get this solved you should read up cfqueryparam too. Among other things it helps

Re: form-post to SQL-insert creates double-entry

2013-01-15 Thread B Griffith
Fellas, Thank you very much! It worked like a charm. And I'm taking your suggestion re: data scrubbing/validation, I have a CF8 book that will hopefully shed a little light on that subject. I only just noticed there is a ColdFusion Newbie forum here and that is probably where my

Re: form-post to SQL-insert creates double-entry

2013-01-15 Thread Dan Baughman
quackfu...@gmail.com wrote: You are running the insert query each time you load the page. Remove your cfparams on the form fields, and wrap the query in an cfif. cfif !structIsEmpty( form ) !--- insert query here --- /cfif HTH On Tue, Jan 15, 2013 at 2:34 PM, B Griffith br.griff

Re: form-post to SQL-insert creates double-entry

2013-01-15 Thread Dan Baughman
you load the page. Remove your cfparams on the form fields, and wrap the query in an cfif. cfif !structIsEmpty( form ) !--- insert query here --- /cfif HTH On Tue, Jan 15, 2013 at 2:34 PM, B Griffith br.griff...@yahoo.com wrote: Hello All, I appreciate everyone's help on my other

Re: Importing multiple name and email addresses in a form text field

2012-12-24 Thread Russ Michaels
If they are in separate form fields, then it is still sent as a list. If they are in the same field then ou could use space as the delimiter Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 24, 2012 3:26

Re: Importing multiple name and email addresses in a form text field

2012-12-24 Thread The Dude
. If they are in separate form fields, then it is still sent as a list. If they are in the same field then ou could use space as the delimiter Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 24, 2012 3:26 AM, The Dude exel

Importing multiple name and email addresses in a form text field

2012-12-23 Thread The Dude
Does anyone know of a good way to import multiple firstname, lastname, email from a form text field. Its for an email application for end users to enter multiple subscribers. i.e. form field content: John, Doe, j...@doe.com Mary, Doe, m...@doe.com Roofus, Doofus, roo...@doofus.com I'm using

Re: Importing multiple name and email addresses in a form text field

2012-12-23 Thread Russ Michaels
multiple firstname, lastname, email from a form text field. Its for an email application for end users to enter multiple subscribers. i.e. form field content: John, Doe, j...@doe.com Mary, Doe, m...@doe.com Roofus, Doofus, roo...@doofus.com I'm using an excel spreadsheet import process

Re: Importing multiple name and email addresses in a form text field

2012-12-23 Thread The Dude
That's fairly straight forward to extract and handle the data. Only tricky bit is if the person entering the data doesn't put a comma at the end of a line. I may just stick with excel spreadsheet imports. Its just a list of values so you can cfloop over them. Regards Russ Michaels

Client.Loginname does not work for login form

2012-12-08 Thread Thomas Eppler
Dear CF-Friends I am standing in front of a mystery ... I am using a variable Client.Loginname, which saves always the last used username, which I set in the username form field, so the user does not need to type it again. But that variable seems not to accept the username after a successful

Re: Client.Loginname does not work for login form

2012-12-08 Thread Russ Michaels
Are you its not your browser caching the form? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 8, 2012 4:19 PM, Thomas Eppler thomas.epp...@gmx.net wrote: Dear CF-Friends I am standing in front

Re: Client.Loginname does not work for login form

2012-12-08 Thread Thomas Eppler
not work for login form Are you its not your browser caching the form? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 8, 2012 4:19 PM, Thomas Eppler thomas.epp...@gmx.net wrote: Dear CF

Re: Client.Loginname does not work for login form

2012-12-08 Thread Russ Michaels
, 2012 4:19 PM, Thomas Eppler thomas.epp...@gmx.net wrote: Dear CF-Friends I am standing in front of a mystery ... I am using a variable Client.Loginname, which saves always the last used username, which I set in the username form field, so the user does not need to type it again

Re: Client.Loginname does not work for login form

2012-12-08 Thread Thomas Eppler
...@michaels.me.uk An: cf-talk cf-talk@houseoffusion.com Betreff: Re: Client.Loginname does not work for login form I think it may be because you are dping a.cflocation, so the cookie is not being set. I would suggest using session variable instead of client variables. Regards Russ Michaels

Re: Client.Loginname does not work for login form

2012-12-08 Thread John M Bliss
. Original-Nachricht Datum: Sat, 8 Dec 2012 16:54:57 + Von: Russ Michaels r...@michaels.me.uk An: cf-talk cf-talk@houseoffusion.com Betreff: Re: Client.Loginname does not work for login form I think it may be because you are dping a.cflocation, so the cookie

Re: Client.Loginname does not work for login form

2012-12-08 Thread Matt Quackenbush
more day, then I switch to Ruby for the rest of my life. Original-Nachricht Datum: Sat, 8 Dec 2012 16:54:57 + Von: Russ Michaels r...@michaels.me.uk An: cf-talk cf-talk@houseoffusion.com Betreff: Re: Client.Loginname does not work for login form I think it may

Re: Client.Loginname does not work for login form

2012-12-08 Thread Russ Michaels
:54:57 + Von: Russ Michaels r...@michaels.me.uk An: cf-talk cf-talk@houseoffusion.com Betreff: Re: Client.Loginname does not work for login form I think it may be because you are dping a.cflocation, so the cookie is not being set. I would suggest using session variable instead

Can I create a form with several HTML5 multi-file uploads and send to unique destinations?

2012-11-20 Thread Shawn McKee
to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set

Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?

2012-11-20 Thread Dave Watts
get to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set

RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?

2012-11-20 Thread Robert Harrison
: Tuesday, November 20, 2012 9:13 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I have a page where people need to be able to upload multiple files that go to different places. I can use: input type=file multiple=multiple name

Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?

2012-11-20 Thread Raymond Camden
I want to add two kinda OT points here. CF9 (and earlier) has a bug with input type=file multiple where it will only process the first file. As far as I know there is no workaround for this. CF10 handles it ok though. Dave said you can't have one form with multiple destinations. That isn't

RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?

2012-11-20 Thread Robert Harrison
Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, November 20, 2012 10:06 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I want to add two kinda OT points here. CF9 (and earlier) has a bug with input type=file multiple

RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?

2012-11-20 Thread Robert Harrison
-williams.com] Sent: Tuesday, November 20, 2012 10:25 AM To: cf-talk Subject: RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I have definitely gotten around that by using loops, but I also have not been using file sets. I've been using single file

Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?

2012-11-20 Thread Dave Watts
Dave said you can't have one form with multiple destinations. That isn't technically true. The HTML5 spec supports a formaction attribute for the input tag that allows multiple destinations for different fields in the same form. For the life of me I can't imagine using this often in the real

Re: Not understanding the relationship between html form values and cfhttpparam values

2012-09-12 Thread Nithya K
In my application, I used to directly pass the form variables to another website. Then I found that form variables posted are not secure, as they can be intercepted and modified.(especially in payment functions where form.amount could be modified to 0) The variable values are secure when using

RE: Not understanding the relationship between html form values and cfhttpparam values

2012-09-12 Thread Rick Faircloth
Thanks for the info, Nithya! Rick -Original Message- From: Nithya K [mailto:nithyakr...@gmail.com] Sent: Wednesday, September 12, 2012 2:09 AM To: cf-talk Subject: Re: Not understanding the relationship between html form values and cfhttpparam values In my application, I used

Not understanding the relationship between html form values and cfhttpparam values

2012-09-11 Thread Rick Faircloth
I've been reading about this all day and I'm just missing something and I can't understand the relationship between HTML formfields/values and cfhttp/cfhttpparam values? None of the many examples I've reviewed showed how to get variables a user inputs into a form into the cfhttpparams. Do I need

  1   2   3   4   5   6   7   8   9   10   >