Saturday, April 29, 2017

Re: django formset

somebody had my problem before:

https://github.com/elo80ka/django-dynamic-formset/issues/108

please tell me something about this problem i cant solve if yet

On Friday, April 28, 2017 at 3:45:10 PM UTC+4:30, shahab emami wrote:
hello
i search for my question on google and this group by i couldn't find the answer.
maybe I am not a good searcher.D

i have a formset.
there is a field for birth date in my form then as you know there are a few birth date field in my formset. I use this jquery plugin to add form dynamically:

https://github.com/elo80ka/django-dynamic-formset

every thing is good until now.  but because I have a date field in my form i want to

use this jquery plugin :

Datepicker | jQuery UI



then user can select date from this calendar .
but i don't now the id of date field in the form.
how can i select it with jquery  when i don't now the id of it?
I tried to find it with inspect element but i understood the id is different in every form. 
if you can tell me the idea to solving this problem or
introduce somewhere that i can read about this i will be thankful.


--
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+unsubscribe@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/7731176e-4be8-4f41-88ae-52fded5b1a22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment