[web2py] Problems with setting default field values.

2012-04-09 Thread Brian F
So I've managed to create myself a little bit of an interesting problem. I have a page that contains a form the user fills out. Before they submit it I use JQuery and check the form to make sure everything is filled out, and perform some saftey checks based on values they've filled in. Once they

[web2py] Re: SQLForm text and newlines

2012-03-22 Thread Brian F
e in > XML() so the doesn't get escaped when serialized in the response > body. > > Anthony > > On Thursday, March 22, 2012 1:52:25 PM UTC-4, Brian F wrote: >> >> I am prefilling a field in an SQLForm, but there are other fields that >> the user will fill

[web2py] SQLForm text and newlines

2012-03-22 Thread Brian F
I am prefilling a field in an SQLForm, but there are other fields that the user will fill out. The text I am prefilling I would like to display, but not allow the user to edit it. I am setting the writable to false, but the problem is the text I am filling with has multiple lines all separated b

[web2py] SQLForm

2012-03-13 Thread Brian F
I have a table with a user id, an item id, and a permission level. I am trying to generate a form using SQLForm to change the permission level. The problem is I still want the user id and the item id to show up, but I don't want them to be editable. I would have thought setting writeable to false w