We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

[Closed] Validation Service Custom

How Do I?

vw000's avatar
vw000
241 posts
3 years ago
vw000's avatar vw000

Does someone know how to create a custom validation? https://docs.expressionengine.com/v5/development/services/validation.html#validation-service

That checks if a dot is at the end of the submitted value?

Example: expressionengine.com (invalid) expressionengine.com. (valid) expression. (valid) engine (invalid)

Is it also possible to combine build in validations? Example, allow alphaDash+alphaNumeric?

In a perfect world I would just use the regex for this but for some reason, the regex validation has never ever worked for me on any Expression Engine. Even when my same regex works fine in PHP. Not sure what is wrong but I was never able to use that validation field, the build in seems to work fine but are way to basic for my requirements.

       
vw000's avatar
vw000
241 posts
3 years ago
vw000's avatar vw000

Never mind. Just did it with PHP 😊

👍 1
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.