Hiya,
I have some drop down menus where data is populated from a valuelist. Is there anyway to have the select menu display one of those values (instead of "Please Select") as the first option?
Thanks
Paul
Drop down menu defaults [SOLVED]
3 posts
• Page 1 of 1
Drop down menu defaults [SOLVED]Hiya,
I have some drop down menus where data is populated from a valuelist. Is there anyway to have the select menu display one of those values (instead of "Please Select") as the first option? Thanks Paul Last edited by cantlep on Tue May 25, 2010 8:34 am, edited 1 time in total.
Re: Drop down menu defaultsUse the fieldname__default() method in the delegate class to specify a default value for your field:
(Note that in the case where the field stores an int but you're using a valuelist to display a different label, then you should return an int from this method and not the string that is associated with it). _Steve
Re: Drop down menu defaults [SOLVED]Awesome! You really have thought of everything.
Thanks very much as always Paul
3 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 35 guests |