Ask Your Question
0

How to obtain choice field value without submitting the form in python?

asked 2015-10-08 01:20:26 -0500

sanjana gravatar image

I have a workflows.py file which has 3 choice fields. Based on the value of the 1st and 2nd choice field, in the 3rd field the choices must appear. This must happen before submitting the form. How can this be done?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-29 22:23:26 -0500

teju gravatar image

Please check the code in the below link :

https://github.com/openstack/horizon/...

edit flag offensive delete link more

Comments

Thanks teju for the link. But the choice fields are dynamically populated in my case. How can i filter the next choice field based on the value of previous choice field?

sanjana gravatar imagesanjana ( 2015-11-15 23:26:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-10-08 01:20:26 -0500

Seen: 210 times

Last updated: Oct 29 '15