Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-19 Thread chaitanya orakala
Hi guys, I made a video on how to solve this problem. Please go to the link below and subscribe for more content. https://youtu.be/XvX6Q64oFyw There is a git repo link in the description as well. Thank You On Wed, Jun 10, 2020 at 3:50 PM chaitanya orakala wrote: > Answer : > > *First hide t

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-19 Thread chaitanya orakala
Hi guys, I made a video on how to solve this problem. here is the Link https://youtu.be/XvX6Q64oFyw On Wed, Jun 10, 2020 at 3:50 PM chaitanya orakala wrote: > Answer : > > *First hide the necessary fields which you want to hide and pop in drop > down.* > style.css > > #id_exec_first_name,

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-10 Thread chaitanya orakala
Answer : *First hide the necessary fields which you want to hide and pop in drop down.* style.css #id_exec_first_name, label[for="id_exec_first_name"] { display: none } #id_exec_last_name, label[for="id_exec_last_name"]{ display: none } #id_exec_title, label[for="id_exec_title"]{ display

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-10 Thread Balaji Shetty
Thank You Very Much for considering advice On Wed, Jun 10, 2020 at 8:11 AM chaitanya orakala wrote: > sure, I will do it by tomorrow > > > On Tue, Jun 9, 2020 at 2:35 AM Balaji Shetty > wrote: > >> Nice >> >> Can you please share sample code on git link. >> >> This is very common requirement in

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-10 Thread AMINE AZIZ
👍🏻 Shre your code, so it will help others. And if you can, change to resoulved, so it will be marked in Google search Best regards -- 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

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-09 Thread chaitanya orakala
sure, I will do it by tomorrow On Tue, Jun 9, 2020 at 2:35 AM Balaji Shetty wrote: > Nice > > Can you please share sample code on git link. > > This is very common requirement in every project > > > > On Tuesday, June 9, 2020, chaitanya orakala > wrote: > >> Thank You, Amine Aziz. I tried jque

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-08 Thread Balaji Shetty
Nice Can you please share sample code on git link. This is very common requirement in every project On Tuesday, June 9, 2020, chaitanya orakala wrote: > Thank You, Amine Aziz. I tried jquery and it worked. its so simple once we > know jquery. > do help others like you did to me. > > On Sun,

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-08 Thread chaitanya orakala
Thank You, Amine Aziz. I tried jquery and it worked. its so simple once we know jquery. do help others like you did to me. On Sun, Jun 7, 2020 at 1:18 PM AMINE AZIZ wrote: > I will share with you my iwn code used in admin , but it still the same as > the front end > > withe jQuery i can show inp

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread AMINE AZIZ
I will share with you my iwn code used in admin , but it still the same as the front end withe jQuery i can show input or hide it , so you will do the same with popup , by default it will be display none, and with Jquery you can show it if user change value to yes dropdown (select) you will u

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread AMINE AZIZ
I will share with you my iwn code used in admin , but it still the same as the front end withe jQuery i can show input or hide it , so you will do the same with popup , by default it will be display none, and with Jquery you can show it if user change value to yes dropdown (select) $(do

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread chaitanya orakala
Can anyone suggest how to approch this??? On Sun., Jun. 7, 2020, 12:09 p.m. chaitanya orakala, < chaitu.orak...@gmail.com> wrote: > *sure, here is my code*. please let me know how can I modify this to > achieve a dependent drop fields. > I want it to make action on executive_authority, next field

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread chaitanya orakala
*sure, here is my code*. please let me know how can I modify this to achieve a dependent drop fields. I want it to make action on executive_authority, next fields should pop-up *Views.py* from django.shortcuts import render, redirect from er_form.forms import NewClientForm, BillingGroupForm f

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread AMINE AZIZ
You 'll use JQUERY normal as the same in html You need every html id (so you cab add on change) JQUERY on change select Show hidden popup / or show hidden input Share your code. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscr

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread chaitanya orakala
Thanks for the response guys. I see many of them are saying need to use javascript or jquery. Is there any reference links to achieve that? ? On Sun, Jun 7, 2020 at 10:00 AM Shyam Acharjya wrote: > hi AMINE AZIZ. for frontend what approach should be taken? > thnx > > On Sunday, June 7, 2020 at

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread Shyam Acharjya
hi AMINE AZIZ. for frontend what approach should be taken? thnx On Sunday, June 7, 2020 at 7:19:28 PM UTC+5:30, AMINE AZIZ wrote: > > Hi > > You need to use some JQUERY code > > You need this in admin or frontend ? -- You received this message because you are subscribed to the Google Groups

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread Ernest Thuku
I think that you will have to use something like JavaScript in the model forms On Sun, Jun 7, 2020, 09:34 Sai wrote: > Hi guys, > I am working on a* Django project,* which involves submission form and > saving the data in the database using model form. I am stuck with one of > the functionaliti

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread Shyam Acharjya
If anyone has done this before.plese share the sollution.thnx On Sun, Jun 7, 2020 at 3:52 PM wongX Ndeso wrote: > You can use django form wizard if you want, much easier than you should > manipulate the onclick event using javascript or something similar with > that.. > Maybe you should remo

How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread AMINE AZIZ
Hi You need to use some JQUERY code You need this in admin or frontend ? -- 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...@googlegroup

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-07 Thread wongX Ndeso
You can use django form wizard if you want, much easier than you should manipulate the onclick event using javascript or something similar with that.. Maybe you should remodel your form or the flow.. Hope this help On Sun, Jun 7, 2020, 1:34 PM Sai wrote: > Hi guys, > I am working on a* Django p

How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-06 Thread Sai
Hi guys, I am working on a* Django project,* which involves submission form and saving the data in the database using model form. I am stuck with one of the functionalities of form which should work like for example "do you want benefit plan: *YES,* *next Field options should pop up*. if click*