Formatting error message "invalid query"

13 views
Skip to first unread message

Marian Siwiak

unread,
Mar 11, 2013, 9:45:10 AM3/11/13
to web...@googlegroups.com
Dear All!

I'm sorry if I repeat question earlier asked, but the specifics of it make it quite hard to find using search engine... 

My problem is, when I am using SQLFORM to interact with database, and when I type in an "invalid query", the appearing error message is almost impossible to notice:
Please see for yourself:
http://nexus.ibb.waw.pl/Transimulation/default/ecoli_manage - type in any two words separated by space. 

Where can I modify the format of appearing "invalid error" message?

Thank you in advance.
Marian   

Niphlod

unread,
Mar 11, 2013, 9:54:30 AM3/11/13
to web...@googlegroups.com
you want to display some other text than "invalid query" or you want to customize the appearence of it ?
if you're interested in the appearence, use the css

div.web2py_counter {
     color: #8fb3f3;

Marian Siwiak

unread,
Mar 11, 2013, 11:47:45 AM3/11/13
to web...@googlegroups.com
thank you very much! 
that is what I needed.


--
 
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/9iGqlQ9yLKc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages