Thanks.
This worked:
{{=form.custom.begin}}
{{=form.custom.widget.message}}
{{=form.custom.submit}}
{{=form.custom.end}}
On Wed, Mar 18, 2020 at 4:40 PM Javier Pepe wrote:
> Change
>
> db.posts.question by db.posts.message
>
> El mié., 18 de mar. de 2020 a la(s) 10:24, Maurice Waka (
>
Change
db.posts.question by db.posts.message
El mié., 18 de mar. de 2020 a la(s) 10:24, Maurice Waka (
mauricew...@gmail.com) escribió:
> This is my code in the model.py
>
> db.define_table('posts',
> Field('author', 'reference auth_user',
> default=auth.user_id, writable=False,
I got something but still not working:
buttons =
[INPUT(_type="submit"),INPUT(_type="button",_onclick="history.go(-1);return
False")]
On Wed, Mar 18, 2020 at 4:24 PM Maurice Waka wrote:
> This is my code in the model.py
>
> db.define_table('posts',
> Field('author', 'reference a
This is my code in the model.py
db.define_table('posts',
Field('author', 'reference auth_user',
default=auth.user_id, writable=False, readable=False),
Field("message", 'string', requires=IS_NOT_EMPTY(),
length=512, label=T('questions'),widget=widget(_placeholder='Ty
I'm getting a none value. See attached.
On Wed, Mar 18, 2020 at 4:14 PM Javier Pepe wrote:
> in the manual
>
> http://www.web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms
>
> {{=form.custom.begin}}
> {{=form.custom.widget.question}}{{=form.custom.submit}}
> {{=form.custom
in the manual
http://www.web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms
{{=form.custom.begin}}
{{=form.custom.widget.question}}{{=form.custom.submit}}
{{=form.custom.end}}
El mié., 18 de mar. de 2020 a la(s) 10:09, Maurice Waka (
mauricew...@gmail.com) escribió:
> Thank
Thanks.
I put the code in the model.py code. It works.
How about float button to right?
Regards
On Wed, Mar 18, 2020 at 4:00 PM Javier Pepe wrote:
> Hi
>
> You can try with this
>
> db.posts.question.label = ' '
>
> label attr replace field name
>
>
>
> El mié., 18 de mar. de 2020 a la(s) 09:5
Hi
You can try with this
db.posts.question.label = ' '
label attr replace field name
El mié., 18 de mar. de 2020 a la(s) 09:51, Maurice Waka (
mauricew...@gmail.com) escribió:
> Hello,
>
> I'm trying to customize the SQLFORM to look like textarea/inputwith
> text area floating left and s
Hello,
I'm trying to customize the SQLFORM to look like textarea/inputwith
text area floating left and submit button to the right and not bottom. I'm
using the LOAD signature.
I also want to hide the filed name (labelled as Questions see attached).
Currently with this code, I cant hide the
Hi,
I am creating a web app for attending employees.
This is the model:
db.define_table(
'employee',
Field('name'),
format = '%(name)s')
db.define_table(
'attendance',
Field('employee_id',db.employee),
Field('attend','boolean'),
Field('comments','text') )
This is t
10 matches
Mail list logo