[web2py:12785] insert a default value into a text of a table form

2008-12-01 Thread MadWalker
i need to know that if i can insert a default value if i do not want to type the text in ' comments=SQLFORM(cynotedb.comment,fields=['author','entry_id','body') this is the code for the form i using can i do something like comments=SQLFORM(cynotedb.comment,fields=['author','entry_id']) and the 'bo

[web2py:12786] taking in the text in the page and store it in as an entry

2008-12-01 Thread MadWalker
is there a way to take in a page of text and store that in as an entry? like in a page there are text and a comment at the end if it is possible to insert what is in the text into the comment than just copy and paste into the text field itself? --~--~-~--~~~---~--~---

[web2py:12860] Re: insert a default value into a text of a table form

2008-12-03 Thread MadWalker
; > will pre-populate. > > This should work the same way before calling a t2 form creating function. > > On Mon, Dec 1, 2008 at 9:39 PM, MadWalker <[EMAIL PROTECTED]> wrote: > > > i need to know that if i can insert a default value if i do not want > > to ty

[web2py:13415] checking "Option check form" to other class

2008-12-11 Thread MadWalker
show is something like this []Result 1 []Result 2 Result 1 Hi, There! Result 2 Bye! if i click check on result 1 and click submit it'll show what i check if i check both of them then after submit it will show both result however i do not know how to return the option_checked to show_out

[web2py:14983] able to set unique key column on a table?

2009-01-14 Thread MadWalker
hi, is it able to set a key column on a table to be unique like for example; user name if not, is there another way to do it? Good day, Madwalker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2p

[web2py:14984] doing a check for making a user and password

2009-01-14 Thread MadWalker
def log_in(): form=SQLFORM(userdb.user,fields=['username','password']) if form.accepts(request.vars,session): redirect(URL(r=request,f='logged')) session.name = username return dict(form=form)

[web2py:15238] Re: doing a check for making a user and password

2009-01-21 Thread MadWalker
s.password)\ (db.t2_person.registration_key=='').select() it not working when i try it out.. thank, On Jan 15, 9:08 pm, Fran wrote: > On Jan 15, 6:05 am,MadWalker wrote: > > > i trying to do a application that do a check > > the table database take in user a

[web2py:15585] Able to do a table entries selection?

2009-01-28 Thread MadWalker
is it able to do a joint table entries selection? by only selecting only those that i need but still having those database stored and not delete it away? the table database and code are listed as db.define_table('notebook', SQLField('name')) db.define_table('entry',

[web2py:15587] Doing a Username and Password check?

2009-01-28 Thread MadWalker
i got some problem and i still not able to do the username and password check i was told to do this way def log_in(): form=SQLFORM(userdb.user,fields=['username','password']) if form.accepts(form,request.vars,session): rows=userdb(userdb.user.username==form.vars.username)\

[web2py:15801] Entries-notebook selection drop menu

2009-02-02 Thread MadWalker
hi, is it able to do a selected drop menu in which if the boolean is false, they will show the name in the table list and will not show the list if the list menu is true the code is db.define_table('notebook', SQLField('name'),SQLField ('archived','boolean',default=False)) db.d