populate select field based on the selection option

12 views
Skip to first unread message

Eugene TUYIZERE

unread,
Oct 10, 2020, 5:02:36 AM10/10/20
to django...@googlegroups.com
Dear Team,

I have se;ection option where I need to select an option and populate the other selection field 

this the html code

                                 <select class="form-control"  id="place_of_birth">
<option> </option>
<option> Country_name </option>
<option> Other </option>
</select>
</div>
<div class="col-sm-2">
<strong><label>Plece*</label></strong>
<select class="form-control" >

</select>
</div>
This is different from dependency drop down because I have two different tables where I need data for the first option (country_name) and second one (Other). I need codes that can help me to do this task.
--
TUYIZERE Eugene

Msc Degree in Mathematical Science

African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon


Bsc in Computer Science

UR-Nyagatare Campus

Email: eugene....@aims-cameroon.org
           eugenet...@gmail.com

Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38

Dvs Khamele

unread,
Oct 11, 2020, 1:00:37 PM10/11/20
to django...@googlegroups.com
Hi do you hire contract based python/django freelancer?
 We can help you in this and related tasks at fair prices. Reply or send email to div...@pythonmate.com
Best Regards, 
Divyesh Khamele,
Pythonmate

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHvU66HQ37CJ3SqZhRGkx34H2t%2BPDT0y%2BWqQb6iqcCm0gA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages