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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -