Bug in character counter when using the Edit Link to change a submission

  • Profile Image
    guest_23390363730046
    Asked on December 05, 2012 at 01:04 AM

    Hello Support:

    Consider a textarea field with a character counter and a maximum number of characters of 2000.  Consider also that a user submitted an inquiry and in this textarea field is an answer that is 20 characters long.  So the counter shows 20/2000 upon submission.

    When the user edits the submission later using the Edit Link, the form loads with the previously entered data, but the counter shows 0/2000.  In other words, the counter doesn't recalculate the number of characters entered at the time of the original submission.

    When the user begins typing in the field, however, the counter is updated to reflect the number of characters in the field, inclusive of the characters typed in the original submission.  The counter sort of rights itself.

    Could be a bug.

     

    Thank you.

  • Profile Image
    NeilVicente
    Answered on December 05, 2012 at 04:20 AM

    Hello,

    The counter's script calculates the number of characters in the text area only when a user types in the field. Thus, upon loading the filled-in form using the edit link, the counter displays zero.

    I agree that this is a bug, but only a really minor one. I don't think this could affect performance of the form.

    Still, I'll notify our developers about it. I am not sure if it will be prioritized though, as it is really a very trivial one. We'll inform you of any updates.

  • Profile Image
    estaylorco
    Answered on December 05, 2012 at 02:55 PM

    Hello,

    Yes, I agree.  It is a minor problem, probably easily solved on a round of other bug fixes.

    Just thought I'd point it out.  For whatever reason, it jumped out at me.

    Thank you.