Groups
Sign in
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
how to add custom field to SQLFORM
14 views
Skip to first unread message
Jurgis Pralgauskis
unread,
May 11, 2009, 1:02:20 PM
5/11/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py Web Framework
Hello,
I want to use customised dropdown field in my app,
but dont want to to duplicate the code..
my dropdown has the tree structure in it
like in
http://groups.google.com/group/web2py/browse_thread/thread/7091d1d67e28a914/c7df08450949c0e8
I found I could use
form.components[0].append(myfield)
but actually, I'd like to substitute some specific dropdown field with
it
what's the best way?
as there might be some validation issues..
mdipierro
unread,
May 12, 2009, 11:28:43 PM
5/12/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py Web Framework
I think you need to create a widget. I cannot say because it really
depends on details.
On May 11, 12:02 pm, Jurgis Pralgauskis <
jurgis.pralgaus...@gmail.com
>
wrote:
> Hello,
> I want to use customised dropdown field in my app,
> but dont want to to duplicate the code..
>
> my dropdown has the tree structure in it
> like inhttp://
groups.google.com/group/web2py/browse_thread/thread/7091d1d67e.
..
Reply all
Reply to author
Forward
0 new messages