I am using Crispy-Form and Bootstrap in Django. It works very well. Now, I would like to have a field showing only when another field has an input. Basically I have a multpile select list called A visible, and text field , B, hidden. after the user presses / selects one or more values ββin A, B, it becomes visible. And if not one is selected, it must become invisible.
Does cripsy have this function or the ability to write JS? Or do I need to write JS in the html page where the form is displayed?
ciao
source share