3

When trying to report a message sent from a recruiter I'm told that:

Your description is too long. Please use at most 255 characters on it.

Here's a screenshot and you can see that I've only used 252 out of 255 characters.

enter image description here

If I copy and paste the same text into Notepad and save as plain old ANSI the size of the file is in fact 257 bytes.

Perhaps carriage returns aren't being counted properly. I've not had time to poke around the javascript to see where the wheels are coming off.

1 Answer 1

1

While jQuery strips the carriage return when calling .val(), it keeps it (or adds it on some browsers) when doing an ajax post.

To keep it consistent (we're storing the carriage returns on the database everywhere) what I did was updating the client side code (so that on a newline, it counts it as 2 characters).

Thanks for the report, and sorry for the delay!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .