In my application I have a drop-down menu consisting of the names of all
countries and I have realized that menu items that fall outside of the
width of the screen are not viewable
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sour
Hi,
This is my database definition:
db.define_table('room',Field('room_size','integer',requires=IS_NOT_EMPTY()),
Field('room_nos','integer',requires=IS_NOT_EMPTY()),
Field('building',requires=IS_IN_SET(['DH Hill','James B
Hunt'])),
Field('status',r
Hello everybody,
I have a table called Person
Db.py
db.define_table('Person',
Field('last name', 'string',label='Last Name'),
Field('First name', 'string',label='First Name'),
Field('City','reference City',label='City', requires =
IS_IN_DB(db,db.C
Question from a new user. I defined the response.menu as following and the
dropdown doesn't show in inventory
response.menu = [
(T('Home'), False, URL('default', 'index'), [
(T('shopping'),False,URL('default','make_list')),
(T('List'),False,URL('default','store_item')),
(T(
Hello all,
I want to create a dropdown field in database with 'yes' and 'no' options.
Can any one pleaseee let me know how can I do this.
Chaitanya
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.c
I have a problem. I´m working with a dropdown, when I choose a option it
get a FORM, and I have a field for all forms. If I choose a option my
fields erase. I wanna get that variable. What can I do?
For example, this is a form:
Title: Data warehouse
Type: | Article |
I have a three dropdown and the value will be dynamically changed using
ajax. It's working fine but something is wrong. In second dropdown
(id="lead_name"), I specify jQuery('#model_name') but it's
actually jQuery('#leadl_name') but then when the value for the second drop
changed, the value dis
drop down text is so long, it is cut off on right side. Text comes from
"requires = IS_IN_DB"
how to let user see all of the text?
thanks,
Alex Glaros
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.goog
Hi, this is probably simple but searching as come up a blank and I'm still
very new to web2py
I have three tables, 'manufacturer' , 'model', and 'shoe'
Manufacturer contains 'Asics','Nike'
Then 'model' has parent of 'manufacturer', and will have 'Asics', 'Gel
Nimbus' and 'Nike','Vomero'
'sho
Hello
I have the following question
On my page I have a drop down menu where user selects some texts from db
and it is then inserted into into ace editor. the user then saves the
script using bootstrap modal with a new name.
After he enters the new name of the text it is saved, but the drop do
Hi Guys,
I am trying to build a form. I have the drop down list working in the form,
but when I display the record, it displays the id instead of the selected
field.
db.define_table('training',
Field('type', type='string',
label=T('Training Held')),
auth.signature,
format=
Hi
I'm looking at doing a neural net 20 questions type program at some
stage, but still having difficulty with the basics.
Currently if I do a dropdown field, it won't let me enter the data
unless the question on the NEXT screen is the same as this one.
I know it's something to do with the fact tha
Hello,
I have just installed the dropdown plugin. It works well except for
list:reference fields.
I have just modified the models/plugin_dropdown.py file:
def create():
table,field = request.args(0).split('.')
# MODIF
field_tablename = db[table][field].type.split(' ')[1]
referee
Thank Richard.
I use: query = (db.tablegroup.parent==None),
In this case: parent = 0 --> not work and I want update: parent = None.
You have any idea?
On Sunday, March 6, 2011 11:11:40 PM UTC+7, Richard wrote:
>
> What is this for :
>
> form[0][0][1] = TD(my_select)
>
>
my_select = SELECT(*tabl
What is this for :
form[0][0][1] = TD(my_select)
???
Default choice to be charged into the dropdown field??
There is a option for default choice...
And there is a syntax to be used into controller to set default value when
needed if it is not to be set everywhere the model is used.
db.tablegr
Hi all,
Please help me with the problem of dropdown selection.
It work fin by default: select blank option in the drop down, it update
value of field reference = None
But i need change drop down list: form[0][0][1] = TD(my_select)
Now, it update value = 0 (not None) and I can't update:
db(db.
I am not exactly sure of what you are looking for... Better if you send
specific code of your model, controler and views...
You can Change the ID representation that way :
db.auth_membership.user_id.requires=IS_IN_DB(db,'auth_user.id','%(first_name)s
%(last_name)s (%(id)s)')
That generate a
This seems list a simple task but I can't figure out a way to do it
with Web2Py
I want to have a dropdown list of services that someone can select and
then be taken to the correct profile page etc
I want to build this list of names dynamically from my services model.
How do I pull the differ
18 matches
Mail list logo