Today I came across a support issue that took me a little while to figure out.
The Original Problem - A user said that the field in a form was smaller than it used to be because the text he entered was being cut off and asked if it could be made bigger.
What It Could Have Been - First I checked the database thinking that if it was varchar(50) I could make it bigger, but when I looked it was of type text which has a max of over 2 billion characters. So, this wasn't where the problem was unless they were trying to type a novel into the text area. Then, I looked at the Input box which was a textarea which didn't have a maxlength set for it, I couldn't find the default maxlength for a textarea, but when I input what the user was trying to input I was able to do it with no problem so this wasn't the issue either.
The Real Problem - I then noticed that this was a two part form the first page (Form 1) collected some information and then continued to a second page (Form 2) that wanted more detailed information about answers on Form 1. After Form 2 was filled out the whole thing was submitted and inserted into the database. In order to do this all the fields from Form 1 had to be hidden input fields on Form 2. When I viewed the form details on Form 2 I could see that the field I had just entered was cut off. To test I did two dumps of the form variable I wanted one at the top of the page and one just before it was set into the hidden input value both on Form 2. They were both complete and as expected, but the hidden input value was still cut off. I then realized that the user put part of the text he inputted in double quotes so when the value field in the hidden Input hit the first double quote it assumed that it was finished and ignored the rest of the text.
The Fix - I found this fix online <input name="width" value="#HtmlEditFormat(Form.Width)#" /> it allows the full text to be inputted without cancelling out early even if there are double quotes.