I want to be able to take in 3 inputs.
A select for a month, a day, and a year. Then, when the form is submitted for creation, I don't want the model to try and insert these values into the database.
I can do this fine with regular models, but I am using Ardent models.
How can I do this using Ardent models? (Block these values from being inserted, that is, and then combining them into a value that is then to be inserted.)
Also, then, how can I make the creation of the user take place solely inside of the model?
All I want to have to call inside of the controller is:
User::create(Input::all())
and then have the model take care of it.
Is this possible?
Thanks! :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community