#template <select id="cars" name="carlist" form="carform"> <form class=”f1” style=”display:none;” method=> </form> <form class=”f2” style=”display:none;” method=> </form> <form class=”f3” style=”display:none;” method=> </form> <script> Document.querySelector(“select”).addEventListener(“change”,(ele)={ If ele.target.textContent ==”Volvo”: .. Else if ... Else ... }) </script>
Otherwise just send a form to pick the user preference out of Basic, Standard, Advanced, get the request and based on the request’s attributes send a form back through redirect function. Sent from Mail for Windows 10 From: Sai Hi Everyone, I am pretty much familiar with Django Forms with models. I want to build a Submit Form which consists of attributes like UserName, Email, address field and 3 options to select the packages, for example, Basic, Standard, and Advanced. I have gone through Django Docs but there is no such thing. Please let me know how to achieve this and open to ideas. Thank You in Advance. -- 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...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ec6100b.1c69fb81.97f6e.083a%40mx.google.com. |
- How to invoke Sub Form which have MULTIPLE OPTIONS to c... Sai
- RE: How to invoke Sub Form which have MULTIPLE OPTI... Vishesh Mangla
- Re: How to invoke Sub Form which have MULTIPLE ... chaitanya orakala
- Re: How to invoke Sub Form which have MULTI... Devansh Chaubey
- Re: How to invoke Sub Form which have M... chaitanya orakala
- Re: How to invoke Sub Form which h... chaitanya orakala