Dear Tosin
In my html template I used
{% csrf_token %}
{{ form.as_p }}
and in my views.py in the corresponding view I have a section where I check
if the method is POST:
if request.method == 'POST':
Later I do this:
var_list_of_checked_boxes = request.POST.getlist('var_select
Hi
I got something like this to work with
var_selection = forms.MultipleChoiceField(required=False, widget=forms.
CheckboxSelectMultiple, choices=a_list_that_i_prepared_previously,)
On Tuesday, March 3, 2020 at 12:46:10 PM UTC+1, Tosin Ayoola wrote:
>
> Good day guyz,
> i'm working on a proj
Hi Tosin,
On 03/03/2020 12.44, Tosin Ayoola wrote:
Good day guyz,
i'm working onĀ a project that requires user making multiple selections
using checkbox after which these selected item get save to the database
after click on the on submit i've research on this and can't find any
help, i have
Good day guyz,
i'm working on a project that requires user making multiple selections
using checkbox after which these selected item get save to the database
after click on the on submit i've research on this and can't find any help,
i have it on html and javascript but i need the selected item sa
4 matches
Mail list logo