jquery - How to make dynamic form fields in laravel fillable -


i working laravel 5 .

the problem have add fields form dynamically using jquery , submit form.

laravel has requirement form variables need made fillable in model. issue how can make dynamic fields fillable ? can me ?

thanks

use $guarded instead of $fillable. it's opposite of $fillable: instead of saying 'you can fill in these fields', guarded says 'you can fill in field but these'.

this answer gives example.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

SAP BPC EPM dynamic table member -