SQLFORM update upload field - override 'file' anchor text

79 views
Skip to first unread message

Jim S

unread,
Nov 12, 2013, 2:36:55 PM11/12/13
to web...@googlegroups.com
I have a SQLFORM.grid on my page.  I have an upload field in the referenced table/query.  In edit mode on the SQLFORM.grid the upload field is displayed as a link with the text being 'file'.

Is there a way to override this text?

-Jim

Jim Steil

unread,
Nov 13, 2013, 8:58:59 PM11/13/13
to web...@googlegroups.com
Any takers?  Won't bother again if no response to this one...


-Jim


--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/-ErAU2GkTUQ/unsubscribe.
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.

Niphlod

unread,
Nov 14, 2013, 3:48:08 AM11/14/13
to web...@googlegroups.com

Jim S

unread,
Nov 14, 2013, 2:59:10 PM11/14/13
to web...@googlegroups.com
Resolved it with a little piece of jquery...

$('#news_article__row a').text('download');

Not ideal, but works...

-Jim
Reply all
Reply to author
Forward
0 new messages