textarea character count - Post ID...

User 187934 Photo


Senior Advisor
20,190 posts

I made the needed changes that should make it work for you. This will only work on manual export.;)
http://ericrohloff.com/coffeecup/ccforu … wice-cond/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2208850 Photo


Registered User
40 posts

Eric
VERY many thanks indeed, much appreciated.
I'll post back once I've done this
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 2208850 Photo


Registered User
40 posts

Eric
Unfortunately this still breaks all the display rules/conditionals in IE & Chrome, and although it works in Firefox it puts the counter in the top left of screen, outside the form - see attached screenshot.

:|
Attachments:
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 187934 Photo


Senior Advisor
20,190 posts

I'll need either your fb file or a link to your form so I can see what's wrong.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2208850 Photo


Registered User
40 posts

http://www.idhsgb.com/iForms2/SALESTEST/sales-test.php
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 187934 Photo


Senior Advisor
20,190 posts

These don't belong in the head of your page.
<div id="counter1" class="counter">
</div>
<div id="counter2" class="counter">
</div>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2208850 Photo


Registered User
40 posts

Obviously not enough coffee this morning !!! :cool: I'd put the div elements on the page, and the script in the HTML element. Once I put these in the correct places it works as it should on the first html element (the 1100 character box).

On the second one, the counter does not appear. However, if after inserting some text I then return the option back to "Choose one", (which would never happen in a 'real-world' scenario) thus closing the text box I can now see the counter ????
I've tried positioning the html element in different places, all with the same result.

http://www.idhsgb.com/iForms2/SALESTEST/sales-test.php
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 2208850 Photo


Registered User
40 posts

Solved this by changing the display rule on the 2nd element from 'category' IS NOT "Breeders & Others" and is stopped from displaying initially by adding AND ( [category] is_not "" ) to the display rule - by removing the 'AND ( [category] is_not ""'

The only disadvantage now is that if I try to change my selection to 'Breeders ....' after an original choice of anything other than 'Breeders & others' then the counter remains on the form.
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 2208850 Photo


Registered User
40 posts

Just for info, I solved this by changing the conditionals on the second element from an 'is not' to an 'IS' statement on all the required options - now works perfectly. :)

Eric, VERY many thanks for all your help and patience

Dave
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 187934 Photo


Senior Advisor
20,190 posts

Great! I wasn't exactly sure what wasn't working for you. I didn't have time yesterday to look into adjusting the script.
Have fun with your new discovery.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.