A web development exercise for improving a form (based in Silverstripe 3.5)
- Clone the repository
- Run
composer install
to install the dependancies - Setup your environment
_ss_environment.php
. Read Environment management
Your environment will need to meet these Server Requirements
The working form looks like this:
Improve the form, any way you see fit. Please add any frameworks you would like (We're interested to see what technologies you feel are right for the task).
Some features you might improve are:
- Add the necessary HTML boilerplate
- Implement Silverstripe 3 Form conventions
- Ensure there is CSRF protection
- Add dynamic form validation
- Add ajax form submission
- Style the form
Hint: The PHP controller is mysite/code/BetterFormController
and the Silverstripe template is mysite/templates/BetterForm.ss
.
Create a pull request with your improvements.