I have a CCK field with PHP-based default. This defaults is required, as it's used for 95% of node submissions, but I'd like it overridden when prepopulate works its magic. However, the default seems to prevail. I can't seem to figure out what I'm doing wrong, or if this is expected behaviour.

Comments

jbrauer’s picture

Version: 6.x-1.1 »
Status: Active » Postponed (maintainer needs more info)

Please give this a try in the 2.x branch. Since prepopulate now runs later in the form building process it may resolve this conflict.

obrienmd’s picture

Awesome, will test ASAP.

Norberto Ostallo’s picture

Version: » 7.x-2.x-dev
Status: Postponed (maintainer needs more info) » Active

I have written a patch that solves this and other problems, you are welcome to test it and provide your feedback if you can. It applies to 7.x-2.x branch.
You can find it attached to this issue:
#1489526: Improve prepopulate behavior

jbrauer’s picture

Version: 7.x-2.x-dev » 6.x-1.1
Status: Active » Closed (cannot reproduce)

No new information since original post and this should be resoled in the 6.x-2.x branch.