You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since unchecked checkboxes are not posted (as per html spec), and since the Form class has the handy feature of returning null values when a field is not present in the POST, I find myself doing this in every form:
Since unchecked checkboxes are not posted (as per html spec), and since the
Form
class has the handy feature of returningnull
values when a field is not present in the POST, I find myself doing this in every form:Basically, I'm converting all known checkbox fields that are
null
tofalse
. Having the Form class do this automatically would be great.What do you think?
The text was updated successfully, but these errors were encountered: