Sergey
Total posts: 13,748
13 Июнь 2014 01:30

Not possible for HTML fild. Very complicated to calculate simbols because there is hidden html markup. It works only for textarea field.


jimie VIP
Total posts: 531
09 Окт 2015 05:04

Hey Sergey,

Can you add a popup message for textarea field, when you have mas chars limit ?

For example currently it shows there's a number of characters allowed, but would be good also to show a popup message when someone paste text which goes over the limit allowed in that field, in the popup message it should maybe say:

" This field has a X characters limit, your text was truncated to that amount of characters " ( Or best will be an option to custimize your own message in the popup alert box )

This is good because sometimes people ignore the limit and they simply paste without checking to see if that text still has a sense after was cut.

Rgds


Sergey
Total posts: 13,748
11 Окт 2015 11:59

jimie Can you add a popup message for textarea field, when you have mas chars limit ?

I think there is already charackter countr in textarea.

jimie This is good because sometimes people ignore the limit and they simply paste without checking to see if that text still has a sense after was cut.

But they cannot submit andd they will see error that limit is exceeded.


jimie VIP
Total posts: 531
07 Дек 2015 15:19

Here what's the idea here:

Before they were allowed to enter unlimited number of chars, so then limited it to specific number of chars, now when they edit their previous field value is cut to that number of chars, but they don't get notified about it and when they save the information is missing, would be better to notify them somehow about this so they know their information was cut

rgds


Sergey
Total posts: 13,748
09 Дек 2015 07:05

Not in HTML field. It works in textarea. In HTML you cannot count characters correctly.


jimie VIP
Total posts: 531
09 Дек 2015 07:26

Yes in textarea.

rgds


Sergey
Total posts: 13,748
10 Дек 2015 04:44

Of course I can adopt script you have shown to textarea field. I only have to find time for that.

Работает на Cobalt