Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion htmlfill not setting checkbox default
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Hollister  
View profile  
 More options Oct 11 2010, 7:44 pm
From: Hollister <a.hollister.willi...@gmail.com>
Date: Mon, 11 Oct 2010 16:44:57 -0700 (PDT)
Local: Mon, Oct 11 2010 7:44 pm
Subject: Re: htmlfill not setting checkbox default
Yes, I see your point about multiple checkboxes.

I guess the issue I have is the interaction between
webhelpers.html.tags.checkbox initially generating a value attribute
(of 1) when none is specified, and htmlfill taking a boolean value and
trying to set the checked state. For almost all of my uses, I don't
use the value of the checkbox, rather I just want to know if it's
checked, and then populate a bool field in the DB. For these cases,
explicitly specifying a value = True (whether it's checked or not)
solves the issue. That just seems counterintuitive and somewhat
klunky...but form posts with checkboxes has always been that way.

Thanks for your thoughts.

-Hollister


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.