python - Does web.py support search box? Like the search bar on the top right of stack overflow? -



python - Does web.py support search box? Like the search bar on the top right of stack overflow? -

i'm new web.py , front end end.

the problem didn't find search box back upwards in web.py cookbook. did research , seems web.py form supports textbox, password, textarea, dropdown, radio, checkbox, button.

i wonder if can utilize form add together search box right top of stackoverflow.

any help appreciated.

sorry didn't create clear. wondering define form within python script , render in .html, search box layout generated this: . example, can define form following:

<pre> <code> register_form = form.form( form.textbox("username", description="username"), form.textbox("email", vemail, description="e-mail"), form.password("password", vpass, description="password"), form.password("password2", description="repeat password"), form.button("submit", type="submit", description="register"), ) </code> </pre>

but didn't find built in class searchbox, web.form.searchbox("..."), in can set placeholder of search box.

i solved problem defining layout html , bound search box function, henry's advice.

again responses. confused @ beginning.

python web.py

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -