I have a Model which consists of almost 500+ fields. I want to take data through the front end Form. But the issue is I can't display all the 500 fields.
I will add the fields which I need. like on day-1 I will add 3 fields. food = 230 , petrol = 500, rent = 700. on the second day, fields may vary. I can add 20 fields on the second day.
All these fields are pre-defined in the model. how should I create these fields dynamically in the front end and then how I will pass it to view function and how I will store it in the Model.
Aucun commentaire:
Enregistrer un commentaire