I have a field called delivery_day
which is of type string
in delivery_preference
model.
In form, I want to provide 7 checkboxes for each day like Sunday,Monday,etc., and later want to concat.
For example if a user checks Sunday and Friday, I want to concat & store it as "Sunday,Friday"
in delivery_day
field.
Thanks in Advance!!
Aucun commentaire:
Enregistrer un commentaire