You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: