Vinay to this do the simple. The form interprets normally the models. Example: models.py from mongoengine import *
class person(Document): name = StringField(max_length = 150) club = EmbeddedModelField(club) class club(Document): name = StringFiend(max_length = 150) form.py class FormPerson(forms.ModelForm): class Meta: model = person fields = "__all__" 2017-03-07 0:58 GMT-03:00 vinay.marpina <vinay.marp...@gmail.com>: > Hi All, > > I am trying to implement a Multi select input box in my Html page. Once > user select multiple check boxes all the data for that specific field need > to store in MongoDB as a part of json. I am not able to understand how i > can Multi Select input box created in Html can be connected to Back end > model. I ma trying to use List field and Embedded document field but i am > not able to connect all the dots. Can some one please help me in connecting > all the dots from HTML to FORM to Model to View to MongoDB. Examples are > very limited for Mongoengine and most of them are not taking input from > HTML page. If some one let me know how to provide multiple input from HTML > page to model list field it will be very help full. > > Note: If my explanation is vague please ping me i will try to explain > little better. > > Thanks, > Vinay > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/c0a4cef0-d2ec-4bd0-b28d-517dc912e5cb%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c0a4cef0-d2ec-4bd0-b28d-517dc912e5cb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA8yBMxFGjgqUNXZdTg3R%3DdbbYnqQhU0cAFOMS1VLGM7SEm4Rw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.