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
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?
--~--~-~--~~~---~--~---
;
> 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
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
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
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)
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
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',
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)\
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
10 matches
Mail list logo