Support the ongoing development of Laravel.io →
Authentication Input Eloquent

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! :)

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

oraabroosh oraabroosh Joined 10 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.