Hi,
I have been to this type of problem.
There two solutions to this
You have to made this using java script for front end and for database or
backend.
For front end make a counter which will create a form fileds with
name="columnname$countet" sir that the post request you can fetch all the
detail in the backend
You can have two approaches for backend.
One to make a table and for each add store a reference two which thing it
belongs  to
Like there is one question and there can be any no of ans two that
question. In senerios like this make a question model and in answer model
with foreign key to question table in this senerio u will have one question
can have any no of answer

Second approach which I followed is to store the form data to JSON.
Enjoy
Thanks


On Wed 26 Sep, 2018, 11:28 PM Kasper Laudrup, <laud...@stacktrace.dk> wrote:

> Hi Django Lover,
>
> On 26/09/2018 15.55, Django Lover wrote:
> > Then What is the solution please let HELP ME?? I know that it will done
> > by Jquery but how? I dont Know
> >
> >
>
> The first hit I got on a search for "jquery dynamic form" sent me to
> this page:
>
> https://www.jqueryscript.net/tags.php?/dynamic%20form/
>
> Looks like something like this:
>
> https://www.jqueryscript.net/form/Dynamic-Form-Creation-Deletion.html
>
> is exactly what you need?
>
> Of course you still need to handle the submitted form on the server
> (Django) side and you might not be able to use most of Djangos builtin
> form handling functionality, but someone else definitely knows more
> about that than me.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/2b7a307d-d338-dc0e-f738-770f1245805c%40stacktrace.dk
> .
> 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/CALZ%3DbEKg0eOAXc4N%3D%2Bv_%3D-XcGjEeeo0ZOD-N0FNTxFgGjY5RBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to