If you want the initial input field value to change dynamically when the select 
field option changes, there's a bunch of different ways to do this. My current 
favorite is htmx

https://htmx.org/

- Ryan



On June 26, 2022 5:10:19 AM CDT, Rohit Lohar <loharrohit9...@gmail.com> wrote:
>Hi there, 
>I am currently making a form where the user will have a option to select 
>from the drop down and an input field next to it. So basically the drop 
>down will have the list of products and the input field will be having an 
>initial value depending upon the choice selected by user. The product name 
>and price have their seperate table so how can I achieve this.
>Thank you
>
>-- 
>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/ab3f80d4-3386-41ea-9772-077acc818ac6n%40googlegroups.com.

-- 
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/86BB9A38-A8CC-4029-AAB4-ED2B6E31D22D%40fattuba.com.

Reply via email to