Announcement

Collapse
No announcement yet.

Display Remaining characters in Text Field

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

  • Display Remaining characters in Text Field

    Hello,
    it is possible to display with javascript or AJAX the remaining characters of a text input field with multiple lines in Scriptcase, or is there a global javascript to display this?

    I want to Limit the field with 600 characters but the user doesnīt know the max. field size. At some websites there is a line whicht updates himself automatically with the remaining characters.
    I canīt find this in the documentation. I want to help the user with this Information.


    Thanks for help.
    Best regards: - Simon -

  • #2
    Did you search on Google? Im still a newbie so cant help out much but here are some sites that may help:

    https://www.codedevelopr.com/article...t-with-jquery/

    http://stackoverflow.com/questions/1...ing-javascript

    http://programming-in-php.blogspot.c...haracters.html

    Hope these help and good luck.

    Comment


    • #3
      Originally posted by gamer99 View Post
      Did you search on Google? Im still a newbie so cant help out much but here are some sites that may help:

      https://www.codedevelopr.com/article...t-with-jquery/

      http://stackoverflow.com/questions/1...ing-javascript

      http://programming-in-php.blogspot.c...haracters.html

      Hope these help and good luck.
      Hello,
      yes I search, but in SC I did not know if it is forms[0] and so on.....
      I must count the form characters by the form name, but I do not know if it is the Name of my field internal in Scriptcase.
      document.forms[0].fieldname..... is there in this case with any JavaScript no help from google
      Best regards: - Simon -

      Comment

      Working...
      X