Have a good day!
I would be very grateful and grateful for help on an issue that I have been thinking about for a long time.
How to display certain input fields depending on the value of variables
Flask Bootstrap's form input group multiple inputs custom forms
Input groups include support for custom selects and custom file inputs. Browser default versions of these are not supported.
I want to display a form for entries of various information. Form, for example, from 20 different elements for entering, 15-25 different fields for entering any information.
I have 25 different variables, 25 variables can take on a value, a value - either zero (0) or one (1).
Each variable corresponds to a certain field in the form for entering any information.
And I need that if one of the above variable, for example, is equal to zero (0), then I do not display the corresponding field in the form for entering any information.
The number of fields may vary. form text
<label for="inputPassword5" class="form-label">Password</label>
<input type="password" id="inputPassword5" class="form-control" aria-describedby="passwordHelpBlock">
<div id="passwordHelpBlock" class="form-text">
Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji.
</div>