Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Zoocha Simple Form module #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fbomateus
Copy link

Implement Zoocha Simple Form Module

Summary

This pull request introduces the Zoocha Simple Form module, which provides a basic form with a text field and a select list.

Features

  • A form with a text field and a select list that saves submissions to a custom database table.
  • Implementation using dependency injection for the database connection and logger services.
  • Secure handling of user inputs with Html::escape() to prevent XSS vulnerabilities.
  • Robust error handling with logging and user-friendly messages.
  • Proper access control using a custom permission to protect the form.

Testing

  • The module has been tested for successful data submission and error scenarios.
  • Verified permissions to ensure only authorized users can access the form.

Notes

Please review the code and test the module on your local environment to ensure all functionalities work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant