Could someone please help me here, I have created a module that will install a Manufacturer logo carousel. You can see the module in action here:
https://www.orren-life.com
I am however struggling to validate the module config form and display any errors. I used the PS module generator to get a module template, however I did not see any form validation code in there.
Does anyone have validation code examples for me? I have looked at other modules, however none of these are written like the generator creates teh functions.
Yup a you guessed, I don't have much experience in OOP PHP
Question
selwynorren
Hey everyone,
Could someone please help me here, I have created a module that will install a Manufacturer logo carousel. You can see the module in action here: https://www.orren-life.com
I am however struggling to validate the module config form and display any errors. I used the PS module generator to get a module template, however I did not see any form validation code in there.
Does anyone have validation code examples for me? I have looked at other modules, however none of these are written like the generator creates teh functions.
Yup a you guessed, I don't have much experience in OOP PHP
Would appreciate any help.
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now