News:

Support the VirtueMart project and become a member

Main Menu

Custom Field text input

Started by Kate7, October 23, 2020, 11:19:04 AM

Previous topic - Next topic

Kate7

Hi
I am wanting to make a custom field where you can restrict how many characters a personal message for a book can be.

I have made a custom field using a plug-in then selecting VM Custom - Customer text input then I select size of the input to 30 then I have tried both options price per letter and per input. When I test this it lets me exceed 30 characters - why is this?

Jörgen

I guess size of input is the size of the input box, if am I right, not the length of the text. Have you looked at the original code, is there perhaps a check already ?  The ask a question has a check for size of input text, check that out and see how it is done.

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