Adding birthday to register form

Posted 1 year ago by Rainieren

Hello, I'm making a register form and I added 2 new inputs already, But I have one more issue and that is a birthday. I need an input that only accepts birthdays and after registration inserts them into the database. I have no clue how to make this input and how to add the birthday table in the user migration. My project user migration looks like this

public function up()
        Schema::create('users', function (Blueprint $table) {

I will spare you the long registerform.blade but I know how to insert it all into the database, The only thing I don't know is how to add the table to the user migration and how to add an input that only accepts birthdays. Maybe something like a bootstrap date picker. Thanks in advance

Please sign in or create an account to participate in this conversation.