Jump to content

Running form character count?


Recommended Posts

Odd situation.  I have a form whose results will be send via email but ALSO via a pager.  Pager has a 240 character limit.  All the form data makes it to the email notification, but gets truncated to the pager.  Despite having abbreviated all the field values as best we could depending on what dynamic questions get answered we run out of space.  Is there a way I could display a total characters used for the Notification Email fields being sent?

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Thanks for the reply!  This might be a good start.  But in this example, the characters to count are hard coded into the page (HelloWorld).  I would need to have it count all characters entered into form fields.  So  

var str = "Hello World!";

would have to somehow be

var str = "ANY entry or selection into any field gets counted ";

A Yes/No or other radial button selection also gets a registered value and gets sent to the pager and email, and would have to be counted as well.  And I cant figure that out.  ;^)  

How much to consultants charge per hour? 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...