Sorry SP the problem was in my application CSS, i tried to explain it on my
follow up message which i just posted seconds after your reply. But thanks
for replying!
Mostwanted
On Thursday, January 10, 2019 at 8:02:49 AM UTC+2, sandeep patel wrote:
>
> @mostwanted
> In my case your code working
OK!!! This is embarrassing!!! I think i have figured out what the problem
is! I have defined styling for all tables that are used in my application,
I want to believe that formstyle places the form its styling inside a table
therefore my table styling affected hence the box-shadow and the
@mostwanted
In my case your code working as you expected. what web2py version you are
using?
You can try this
def search():
form=SQLFORM.factory(Field('SEARCH', requires=IS_NOT_EMPTY()),
widget = lambda field, value:
SQLFORM.widgets.string.widget(
field,
Is there a way to edit and customize the default *formstyle* styling? I am
trying to place a form label on top of my sqlform.factory form with
formstyle='table3cols' & i am able to get the desired results but there is
extra stuff i do not want, my form now has a border around it and a
Just don't make that check part of your onvalidation function. You can add
to form.errors at any time, so do it after the validation:
form = SQLFORM(...).process(onvalidation=onvalidation)
if form.accepted:
[check for error]
form.errors.myfield = 'Error message'
or use
Got it,
Thank you very much
On Wed, Jan 9, 2019, 8:12 PM Anthony It's all handled by Bootstrap. See:
>
> https://getbootstrap.com/docs/4.1/components/navbar/#responsive-behaviors
> https://getbootstrap.com/docs/4.1/examples/navbars/
>
> Anthony
>
> On Wednesday, January 9, 2019 at 4:39:38 PM
It's all handled by Bootstrap. See:
https://getbootstrap.com/docs/4.1/components/navbar/#responsive-behaviors
https://getbootstrap.com/docs/4.1/examples/navbars/
Anthony
On Wednesday, January 9, 2019 at 4:39:38 PM UTC-5, Vlad wrote:
>
> Web2py menu is a perfect responsive collapsible menu.
>
>
Web2py menu is a perfect responsive collapsible menu.
I am looking at the code - all makes sense, but I don't understand one
thing:
Where in web2py is it triggered that a larger view would hide the toggle
button and make the menu visible, while the smaller view would do just the
opposite?
I am observing very strange behavior of the footer in my project.
on my local computer it's prefect - sticks where it has to be.
Once I transfer it to PythonAnywhere - the footer looks like it "forgot"
what absolute positioning means. It's initially located on the bottom of
the screen, as if
Hi everyone!
I'm wonder if there is another layout.html to use in web2py?
I have adapted the adminlte template (
https://adminlte.io/themes/AdminLTE/index2.html) and but is not adapted at
100% (menu.py is not working and grid doesnt look good, but if you dont
mind to add the menu manually on the
10 matches
Mail list logo