I've created a workaround to solve this.
I'm not sure it's the cleaner nor cleverest way to get it working, but it 
worked. :)

On Thursday, 13 September 2012 14:39:40 UTC-3, Tomas Schertel wrote:
>
> Hi there.
>
> Is there someone creating queries dynamically?
> I have a jquery crud table (jtable.org) that shows password filed blank 
> when I click to edit a table row.
> If I don't want to change user's password, I leave this field empty. But 
> this way, my update query sets a blank password (web.input.password == "") 
> for this user.
> An "if password" solves my problem, but what can I do if an unchecked 
> check box from this form is not sent to my program (web.input.checkbox 
> doesn't exists)?
> How can I include and exclude fields in my query dynamically?
>
> Sorry if I couldn't make myself clear enough.
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/DC4_sbEnDxQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to