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 <[email protected]> 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

Reply via email to