You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is probably a simple question, but I could not find a solution anywhere - probably because I don't have the right idea where to look, or for what.
I'm planning to implement a pretty simple form. The particular functionality is to have a ChoiceField X, and depending on the choice made in field X the next field Y (a BooleanField, but it could be anything) should be enabled or not, i.e. for choices A, B and C in field X there is the option to check or uncheck field Y.
For all other choices in field X field Y would be disabled as the option it provides does not make any sense for the other possible options of X.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
this is probably a simple question, but I could not find a solution anywhere - probably because I don't have the right idea where to look, or for what.
I'm planning to implement a pretty simple form. The particular functionality is to have a ChoiceField X, and depending on the choice made in field X the next field Y (a BooleanField, but it could be anything) should be enabled or not, i.e. for choices A, B and C in field X there is the option to check or uncheck field Y.
For all other choices in field X field Y would be disabled as the option it provides does not make any sense for the other possible options of X.
Any hint is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions