Fog Creek Software
Discussion Board




Maxlength for Email fields set too short

Whenever I try and respond to the user concerning their case, if more than two people need to be included on the email tends to be a problem.

The 'To:' and 'CC:' fields both have a maxlength of 80 characters.

If I have more than two people to send a reply to a case this is almost impossible.

Example:
"John Smith" < John.Johnson@123456.com> "Jane Smith" < Jane.Johnson@123456.com>

That is 80 characters right there.  What if I had three people that I needed to send this email to and the 'CC' field is set to max as well?

Is there any way to get around this without editing the source/database?

Thanks.

Austin Harris
Tuesday, July 20, 2004

Look for this block of code in dlgBugEditing.asp

Sub EmailRow( sCommand, sText, sFieldName, sDefaultValue, sPlacement )

    BugDetailBegin sPlacement, sText

        %>
            <input type="text"
                    size="60"
                    maxlength="80"
                    name="<%=sFieldName%>"
                    class="bugEditing"
                    style="width:300px"
                    value="<%= UnicodeClean(sDefaultValue) %>" />
        <%    
            
    BugDetailEnd False, ""

End Sub

Remove the maxlength="80" part..

Michael H. Pryor (fogcreek)
Fog Creek Software
Tuesday, July 20, 2004

*  Recent Topics

*  Fog Creek Home