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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -