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

Handle form submission on server #42

Open
Venefilyn opened this issue Sep 6, 2018 · 0 comments
Open

Handle form submission on server #42

Venefilyn opened this issue Sep 6, 2018 · 0 comments
Labels
Back-end For working with Laravel
Milestone

Comments

@Venefilyn
Copy link
Member

Venefilyn commented Sep 6, 2018

When user submits a form from front-end we need to validate and format the data accordingly and design a good way to save the form with as little code as possible through Eloquent. I believe it is possible to save a whole form directly to database using Eloquent ORM, without saying to individual tables.

For validating this should be done through a separate Request class, similar to current live implementation.

Specifications ties into #41. All fields to be checked and validated can be seen here, but the fields are not necessarily required. If possible arrays should be validated through Laravel Rule classes instead for simplicity.

@Venefilyn Venefilyn added the Back-end For working with Laravel label Sep 6, 2018
@Venefilyn Venefilyn added this to the Redesign v3.0 milestone Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back-end For working with Laravel
Projects
None yet
Development

No branches or pull requests

1 participant