Skip to main content

Add minimum length check to Item's custom field

More
12 years 6 months ago #150122 by jazzmang
Is there a way to add a minimum field length check (Ajax or otherwise) to custom text field?

I'm thinking it might involve a custom view but I do not want it on every item in the catalog.

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #150171 by nicolas
There is no option for that in HikaShop, so yes, that will require some custom javascript added to the custom field.
You'll want to edit the file "show_block_custom_item" via the menu Display>Views in order to add your code there.
If you don't want it for all the products, simply add a check there (for example on a custom product field value).

Please Log in or Create an account to join the conversation.

Time to create page: 0.229 seconds
Powered by Kunena Forum