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

>
> 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:
>
> The character encoding of the HTML document was not declared. The document
> will render with garbled text in some browser configurations if the
> document
> contains characters from outside the US-ASCII range. The character encoding
> of the page must be declared in the document or in the transfer protocol.
>
> I have this just after the <head> tag on the page that the form is on:
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>
> The form fields are all unique and dynamically created in this manner:
> <input type="text" name="fieldname1_1_2013" id="fieldname1_1_2013" />
> Fieldname1_2_2013
> Fieldname1_3_2013
> Fieldname1_4_2013
> Fieldname1_5_2013
>
> Fieldname2_1_2013
> Fieldname2_2_2013
> Fieldname2_3_2013
> Fieldname2_4_2013
> Fieldname2_5_2013
>
> Etc.
>
> When I strip down the form to only allow around 30 fields, it passes the
> data fine.  I even managed to find the point at which is fails and it
> appears to be some sort of size issue.  However, I checked the cfadmin to
> make sure the Max size of post data was jacked up, but that doesn't seem to
> the be the issue either.
>
> Any ideas?
>
>
> Matt
>
>
>
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:355643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to