I have a registration from which has some dropdownlist fields that are populated with a umbraco documents prevalue source.
I have a member type set up where the user can choose from the same documents with a content picker.
When the user registers everything goes fine.
I also have a update profile form with the same dropdownlist fields. When I enter a Default Value with the bracket syntax for the member properties the default value for the dropdown is not set e.g. {member.country}
When I put this value in a textbox default value I see the node id of the selected node.
When I put a textstring in the default value for the dropdown, the default value is correctly set on the front end.
So the dropdownlist sets it's default value based on text, not on the id. I can understand this for the standard prevalue type, but for others id (value) should be used.
I am also interested in the fix for this. When do you anticipate it getting looked at?
ETA: I'm using 3.0.2 and have prevalues entered in from a database and from a text files, but neither of them work with Default Value. Dropdowns that I populate myself, through contour, work fine.
Bug with default values and dropdownlist
I'm using contour version 1.1.13
I have a registration from which has some dropdownlist fields that are populated with a umbraco documents prevalue source.
I have a member type set up where the user can choose from the same documents with a content picker.
When the user registers everything goes fine.
I also have a update profile form with the same dropdownlist fields. When I enter a Default Value with the bracket syntax for the member properties the default value for the dropdown is not set e.g. {member.country}
When I put this value in a textbox default value I see the node id of the selected node.
When I put a textstring in the default value for the dropdown, the default value is correctly set on the front end.
So the dropdownlist sets it's default value based on text, not on the id. I can understand this for the standard prevalue type, but for others id (value) should be used.
Dave
Comment author was deleted
Added to our issue tracker, will be looked at for next maintenance release http://issues.umbraco.org/issue/CON-182
I am also interested in the fix for this. When do you anticipate it getting looked at?
ETA: I'm using 3.0.2 and have prevalues entered in from a database and from a text files, but neither of them work with Default Value. Dropdowns that I populate myself, through contour, work fine.
Thanks!
Any update on this? I have a project in dev and need to get the value in my dropdown as well.
Please update asap... this is a game stopper.
Comment author was deleted
@Mike what version are you running, I'll double check but I think it has been fixed since..
3.0.6. I have a dev working on this project, he gave me this link. If it's fixed in the version we have I'm gonna beat him with a stick. lol
Comment author was deleted
Would recommend that you upgrade to latest stable that is 3.0.11 to make sure that you don't encounter old bugs
Details http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Installation/Upgrade
Cheers,
Tim
is working on a reply...