Skip to content

jakxnz/betterform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Betterform

A web development exercise for improving a form (based in Silverstripe 3.5)

Quick setup instructions:

  • 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:

Betterform Preview

Exercise:

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.

How to complete:

Create a pull request with your improvements.

About

An exercise for improving a form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published