Re: Form Fields suddenly self validating? Now required?
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 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 validation. Remember that required=no isn't enough. You have to completely remove the required string in the input. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355824 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Form Fields suddenly self validating? Now required?
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, almost Jquery-ish. The form fields get a slight red glow around the edges, and the little bubbles that show on the page look great, however I don't want any of it. I did read about newer versions of CF server validating, so I tried disabling that by adding serverSideFormValidation=no to the cfapplication. What the heck is this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355815 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Form Fields suddenly self validating? Now required?
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 / markup it's impossible to say beyond that. On Tue, May 21, 2013 at 6:30 PM, Jeff F cftalk_l...@fongemie.com wrote: 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, almost Jquery-ish. The form fields get a slight red glow around the edges, and the little bubbles that show on the page look great, however I don't want any of it. I did read about newer versions of CF server validating, so I tried disabling that by adding serverSideFormValidation=no to the cfapplication. What the heck is this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355816 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Form Fields suddenly self validating? Now required?
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 / markup it's impossible to say beyond that. On Tue, May 21, 2013 at 6:30 PM, Jeff F cftalk_l...@fongemie.com wrote: 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, almost Jquery-ish. The form fields get a slight red glow around the edges, and the little bubbles that show on the page look great, however I don't want any of it. I did read about newer versions of CF server validating, so I tried disabling that by adding serverSideFormValidation=no to the cfapplication. What the heck is this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355817 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Form Fields suddenly self validating? Now required?
You'll want to check what mode your page is being rendered in and which version of HTML it's applying. In HTML 5 the required attribute is binary meaning that if it's present, the field will be treated as required regardless of the attribute's value (e.g. require=no doesn't make the field 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 meaning and will enforce an input requirement if present. -Justin On Tue, May 21, 2013 at 6:30 PM, Jeff F cftalk_l...@fongemie.com wrote: 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, almost Jquery-ish. The form fields get a slight red glow around the edges, and the little bubbles that show on the page look great, however I don't want any of it. I did read about newer versions of CF server validating, so I tried disabling that by adding serverSideFormValidation=no to the cfapplication. What the heck is this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355818 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Form Fields suddenly self validating? Now required?
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: are you using CFFORM or just FORM ? On Tue, May 21, 2013 at 11:37 PM, Matt Quackenbush quackfu...@gmail.com wrote: 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 / markup it's impossible to say beyond that. On Tue, May 21, 2013 at 6:30 PM, Jeff F cftalk_l...@fongemie.com wrote: 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, almost Jquery-ish. The form fields get a slight red glow around the edges, and the little bubbles that show on the page look great, however I don't want any of it. I did read about newer versions of CF server validating, so I tried disabling that by adding serverSideFormValidation=no to the cfapplication. What the heck is this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355819 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Form Fields suddenly self validating? Now required?
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 validation. Remember that required=no isn't enough. You have to completely remove the required string in the input. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355820 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Form Fields suddenly self validating? Now required?
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 it used to. Unless you want the browser to handle some of the validation. Remember that required=no isn't enough. You have to completely remove the required string in the input. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355821 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm