Announcement

Collapse
No announcement yet.

Message lenght

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • felizitation
    replied
    Originally posted by Dimava actually if there are exactly 500 characters, it takes you to that page, which denies you and you loose your whole message
    Thank you, that what i was trying to explain

    Leave a comment:


  • Dimava
    replied
    actually if there are exactly 500 characters, it takes you to that page, which denies you and you loose your whole message

    Leave a comment:


  • Dimava
    replied
    Actually you're right, you don't loose what you've written if its over 500 characters, I must've been thinking of something else.

    However the little counter at the bottom doesn't get updated if you add a smilie and don't type anything into the textbox after that.

    By the way, I think you should remove this line:

    Code:
    if (document.cf.counter.value < 0 )document.cf.counter.value = 0;
    so users can see how many characters they are over

    -Dima

    Leave a comment:


  • felizitation
    replied
    Originally posted by admin If you use Internet Explorer and you type over 500 chars, it will pop up a javascript alert telling you that your message is too large, and message will not get erased.
    I don't know. The fact is that there is an error if we type for instance 498 chars (no js, the site is redirected on an error page). Then the message is lost

    Leave a comment:


  • nimda
    replied
    If you use Internet Explorer and you type over 500 chars, it will pop up a javascript alert telling you that your message is too large, and message will not get erased.

    Leave a comment:


  • Dimava
    replied
    Originally posted by felizitation you got it. Or creating simply a global error variable that would prevent some behaviours if set.
    prevent what behaviors?

    Leave a comment:


  • felizitation
    replied
    Originally posted by Dimava that shouldn't be hard to do assuming that the validation of lenght is processed before displaying the page, the variable would still be in memory, and it just needs to be "echoed"
    you got it. Or creating simply a global error variable that would prevent some behaviours if set.

    Leave a comment:


  • Dimava
    replied
    that shouldn't be hard to do assuming that the validation of lenght is processed before displaying the page, the variable would still be in memory, and it just needs to be "echoed"

    Leave a comment:


  • felizitation
    replied
    Originally posted by Dimava have you tried hitting the back button? before submitting a message i usually copy it to my clipboard (Ctrl+A, Ctrl+C), so if something does happen I can just paste it (Ctrl+V)
    By the way, I forgot to answer something important: back button simply doesn't work. The edit message box is cleared when loading the page.

    Leave a comment:


  • felizitation
    replied
    Originally posted by Dimava have you tried hitting the back button? before submitting a message i usually copy it to my clipboard (Ctrl+A, Ctrl+C), so if something does happen I can just paste it (Ctrl+V)
    Yeah of course this works (behavior of the operating system, not the web site)

    I was just laying the stress on a point that may be improved

    Leave a comment:

Working...
X