Author Topic: Custom Field text input  (Read 507 times)


  • Beginner
  • *
  • Posts: 1
  • A beginner
  • VirtueMart Version: 3.8.4 10335
Custom Field text input
« on: October 23, 2020, 11:19:04 am »
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?


  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3330
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Custom Field text input
« Reply #1 on: October 23, 2020, 12:56:35 pm »
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.

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