Re: Creating some fields on the fly in django template

2021-10-24 Thread Ammar Mohammed
Hello In your case i wouldn't import all the form at once using, {{ form.as_p}} Instead try to import every single field of your form thenyou can use JavaScript to show and hide fields according to input because django can't do this kind of editing. On 24 Oct 2021 7:32 PM, "Dina Dodin" wrote:

Creating some fields on the fly in django template

2021-10-24 Thread Dina Dodin
Hi i have forms (not using Models) in some forms i want to introduce dropdown list for example in case some specific value is selected for another existing form field. i tried something if found in google but nothing seems to work for me. if someone can help me with it will be great! in html