News:

Looking for documentation? Take a look on our wiki

Main Menu

How to fix a 'maxlength' attribute to the custom field input plugin [solved]

Started by imcomm, July 27, 2020, 10:26:37 AM

Previous topic - Next topic

imcomm

Hello,
I see that this problem is old and has not yet been fixed, see:
http://forum.virtuemart.net/index.php?action=post;topic=99164.0;last_msg=374880

I put the SOLUTION here:
Using Joomla! 3.9.20 and VirtueMart 3.8.4

Open file> root/pligins/vmcustom/textinput/tmpl/default.php
Before the line 13 add:
maxlength="<?php echo $params->custom_size ?>"

It seems that it is not possible to override and I hope it will be fixed in the next version.

I hope you find it useful.

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.


Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.