i have table called "type" which contains data "family,individual" i want in some pages load individual only into type drop-down and in another pages load both
How can i do that??
Thanks in advance
i have table called "type" which contains data "family,individual" i want in some pages load individual only into type drop-down and in another pages load both
How can i do that??
Thanks in advance
Yes. You can set the default in the model:
db.yourtable.yourfield.requires=IS_IN_SET(( family , individual ))
In any action you can do
db.yourtable.yourfield.requires=IS_IN_SET(( family ))
I m trying to make a query function that accepts two datetime.date object(start_date and end_date), and return all records with a related field that s between start_date and end_date. However, I found ...
I am thinking about using Google App Engine.It is going to be a huge website. In that case, what is your piece of advice using Google App Engine. I heard GAE has restrictions like we cannot store ...
Now that I ve gotten relatively familiar with web2py, I d like to give Django a go. What are the main differences? What would be the most efficient way to get started taking into account web2py ...
The I/O error errno 5 are thrown when "print" is used. I don t know why?? server: redHat
How do I enforce a UTF8 encoding on a generated CSV report in web2py?
i want to display a radio button into my from so i did: SQLField( active ,requires=IS_IN_SET(( True , False )),widget=SQLFORM.widgets.radio.widget) but it display an error: AttributeError: ...
I ve used this method in .NET to pass data back and forth between client and server using JSON objects (both ways). I really liked the method and am looking to do something similar with web2py. ...
i have table called "type" which contains data "family,individual" i want in some pages load individual only into type drop-down and in another pages load both How can i do that?? Thanks in advance