Performing validation in the admin panels
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Performing validation in the admin panels
I'm looking to validate fields in the new admin panels I've made. There is already the ability from the admin.js to check if a required field is empty. How do I expand that to validate that a field has numbers, etc.? I'm not too picky as to whether that validation happens on the server side or in the client.
Re: Performing validation in the admin panels
If not strict validation is required on the server side for security reasons, you can use input fields of type "number" to enforce numbers and add the "mandatory" CSS class. Then, it's automatically checked if there's a value in it and marked if not after the user clicks on the "Save" button.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star