vendredi 9 juin 2023

Checkbox - getting value [duplicate]

My purpose is to get all of the values that the user has selected, but for some reason, I'm only receiving the first value instead of all of them. What am I doing wrong? I would appreciate any help!

Html:

<div class="checkbox-grid_register" id="genres_register" name="genres">
     
 </div>

Python:

genres = request.POST["genres"]



Aucun commentaire:

Enregistrer un commentaire