I've just upgraded to 6.x-3.1-rc1, hoping it would fix some problems I'm having, but it didn't... :)
When creating a new location for my content type, I set the 'Additional' field to 'Do not collect', and the default value for Country to 'Please select'. However, on the node creation form, the Additional field still appears and the Country field is set to 'United States' by default...
As I'm typing this, I'm setting the default country to different values to see if that makes a difference, when suddenly the default country on the node creation form changed to 'Please select'... I don't know how this changed, and further changes to the default country failed to change it on the node creation form.
Seems a bit buggy... :)
Comments
Comment #1
bob.hinrichs commentedI am having similar problems using CCK location, dealing with the input form. I cannot seem to affect field visibility through setting the collect/do not collect on some fields, nor even programmatically in the form_alter. For example that Additional field is stubborn and will not leave no matter what I do. When I print the array that creates the location portion of the form it looks like many arrays nested within one another, as though a bug is causing the same array to get saved inside of itself over and over. Weirdly, making changes to the 'collect' causes some fields to be removed as expected but others are stubborn and there is way to affect them.
I've tried a lot of things and attempted to diagnose the problem but it's become too time-consuming and I have to move on. Sorry I could not come up with a solution.
Comment #2
yesct commentedtagging.
Comment #3
yesct commentedfor issues about mis-behaving additional field, please use the dev version.
the original issue about the default reverting, marking this as a duplicate of #469874: Wrong defaults being used (global_settings widget_settings)
ps. When you have more than one issue, please open separate issues for them (you can then link them to each other if you think they are related).