Wrong character Count when quotes present
-
There is problem with wrong character count for minlength and maxlength attribute.
Single quotes and double quotes on esc_html converts to 4-5 length value and as final result you only able to type much less than the real count indicator value.
Right before count function should contain something like this (if the count is on php side, of course):
mb_strlen(html_entity_decode($string, ENT_QUOTES))How can I fix this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Wrong character Count when quotes present’ is closed to new replies.