Custom validation rules? Which file to edit?

10 years 1 month ago #7376 by BenLee
Hi there,

your component is working well, thanks for this.
Can you please tell me, where the settings for the custom validation rules are? Are they somwhere in the backend or do I have to edit a file, if so, which file must I edit?
Thank you in advance.
BenLee

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

10 years 4 weeks ago #7377 by Saka
When you select Custom validation a Regex field should appear. That's where you enter the regular expression pattern for custom validation. For example, for 3 digits enter: /^[0-9]{3}$/

I don't support writing custom regex so please don't ask, that goes under paid support.

Emir Sakic
www.sakic.net

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

9 years 7 months ago #7470 by billh210
What about validation from a list?, is the something that it could do? Like a list if names or ID numbers...

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

9 years 7 months ago #7472 by Saka
Nope. :)

Emir Sakic
www.sakic.net

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

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch