On 2011-02-03, at 4:46 AM, gintare wrote:
>
You don't have " around cbSMWord so the full variable name is 'cbSMWord'.
>cbSMWord = request.POST.get('cbSMWord ','')
You have a space on the end of the variable here. 'cbSMWord ' is not equal to
'cbSMWord'
> return
views.py "if statements" recognize that the box was checked.
I am not able to return the checkbox state back to web.html
I would like to see the last checkbox choices in my page.
web.html
views.py
def xxx(request):
cbSMWord = request.POST.get('cbSMWord ','')
if (cbSMWord): print
2 matches
Mail list logo