Thank you for responding. Please can you tell me how i can save it  if i
will generate multiple form field using frontend javascript.

On Thu, Jul 19, 2018, 9:23 PM mottaz hejaze <[email protected]> wrote:

> this is not a django stuff , this is frontend .. you can use jquery or
> angularjs ..to hundle click event on the button and create the two fields
> ...
>
> this website cant be done with django templates.. you need djangorest
> framework with frontend javascript library
>
> the django template way , you create a button that links to a separate
> form .. the user enters tax name and value ,then submit , if he want to add
> more , he will repeat the process
>
> On Thu, 19 Jul 2018, 16:18 Django Lover, <[email protected]> wrote:
>
>> This is hard for me understand can you please give some code. I am new in
>> Django. PLEASE HELP ME
>>
>> On Thursday, July 19, 2018 at 7:26:29 PM UTC+5:30, C. Kirby wrote:
>>>
>>> https://docs.djangoproject.com/en/2.0/topics/forms/formsets/ to allow
>>> for multiple instances of the same form type. Then you will need some
>>> javascript to handle showing additional instances of the form when the
>>> button is clicked
>>>
>>> On Thursday, July 19, 2018 at 9:29:51 AM UTC-4, Django Lover wrote:
>>>>
>>>> Here is the image of the form what is need when user click on "Add New
>>>> Tax " two input (Tax name and Value ) should generate dynamically and with
>>>> all field of the form.
>>>>
>>>> <https://lh3.googleusercontent.com/-WL_9Np4MV0M/W1CRf9tI_RI/AAAAAAAAAP0/0KAi2WX8UfMTDnO7YsW28dzE-r-YTiSOwCLcBGAs/s1600/django%2BDynamic.png>
>>>>
>>>> <https://lh3.googleusercontent.com/-WL_9Np4MV0M/W1CRf9tI_RI/AAAAAAAAAP0/0KAi2WX8UfMTDnO7YsW28dzE-r-YTiSOwCLcBGAs/s1600/django%2BDynamic.png>
>>>> <https://lh3.googleusercontent.com/-WL_9Np4MV0M/W1CRf9tI_RI/AAAAAAAAAP0/0KAi2WX8UfMTDnO7YsW28dzE-r-YTiSOwCLcBGAs/s1600/django%2BDynamic.png>
>>>>
>>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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/734e4c1c-ec9c-4627-93c8-5d2e692c9447%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/734e4c1c-ec9c-4627-93c8-5d2e692c9447%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 a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/GOBFMJqL20Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> 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/CAHV4E-d7NucCNcumUoVSQa2wsQa4fuR9mHCzEteiLyxWg%3DSGkw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHV4E-d7NucCNcumUoVSQa2wsQa4fuR9mHCzEteiLyxWg%3DSGkw%40mail.gmail.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 [email protected].
To post to this group, send email to [email protected].
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/CAB%3DWnGfxxAFUzS5YRrCw6AWo3ASf3rP11tQLX2WyD4ZMZanZcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to