Copy link to clipboard
Copied
"Error validating html input.Invalid HTML input. Error=The input was too large. The specified input was 5,040 bytes and the maximum is 5,000 bytes.
I don't see a setting to change this in the CF admin? Please advise.
Copy link to clipboard
Copied
I'm getting this also. Anyone know how to change the limit or of a work around?
Copy link to clipboard
Copied
I believe replacing with jquery fixed it.
Copy link to clipboard
Copied
Interesting.
All I'm doing is passing a giant list of emails in form.
<cfinput type="hidden" name="to" value="#trim(thesepeople)#">
Copy link to clipboard
Copied
impalerware wrote:
Interesting.
All I'm doing is passing a giant list of emails in form.
<cfinput type="hidden" name="to" value="#trim(thesepeople)#">
It might help to add the validation tag,
<cfinput type="hidden"
name="to_cfformmaxlength"
value="50000">
This says that the to field may have up to 50 000 characters. That comes up to about 50 kilobytes. However, the jQuery suggestion remains good.
Copy link to clipboard
Copied
I actually fixed it by changing the cfform to regular form and cfinput to regular input.
Removing the type=hidden seems to also fix it.
Copy link to clipboard
Copied
stanc76870477 wrote:
I believe replacing with jquery fixed it.
I will, like many, agree with your suggestion to use the jQuery equivalent in place of ColdFusion's native user-interface tags, cfform, cfgrid, cflayout, and so on. Thanks for sharing that. Please mark it as the correct answer.
Copy link to clipboard
Copied
Got the same error in CF11. Seems, query is too big. I'm passing list of IDs to it, which is quite long. How can it be fixed?
Copy link to clipboard
Copied
stanc76870477 wrote:
"Error validating html input.Invalid HTML input. Error=The input was too large. The specified input was 5,040 bytes and the maximum is 5,000 bytes.
I don't see a setting to change this in the CF admin? Please advise.
It may not be the cause but, just for information, there is a setting for form submission in the Coldfusion Administrator. It is in the page, Server Settings => Settings.