Hi people, i am running joomla 3.4.4 and VM 3.0.10.
I have installed the free Textareainput plugin (https://www.daycounts.com/shop/free-stuffs/virtuemart-textarea-custom-field.htm) from daycounts.com to use it as a price per letter attribute field in some products.
The problem i have is when typing text and i change line the character counter of the plugin counts it as one character but the price is increasing as if it was 10 characters.
I would like to charge the new line as one or two character, but not ten.
I tried to filter some variables for \r\n, \n, <br>.. etc. with php chop() or str_replace() functions, but no success. I think it has something to do with javascript and not php.
Please check the attachments for the files of the plugin that do the work.
Thanks in advance.
If it is a problem with the Daycounts plugin then you should ask him for support. https://www.daycounts.com/support/new-ticket
Your J/VM versions should be updated. http://forum.virtuemart.net/index.php?topic=118683.0
I have already opened a ticket at daycounts 5 days before asking here but i have no reply yet, so i decided to ask here because the code is very similar with the default customer text input of VM. Also Daycounts offers this plugin free for the VM community so why not asking here too?