Closed (fixed)
Project:
CCK Password Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Jun 2010 at 18:39 UTC
Updated:
31 Jul 2010 at 04:30 UTC
Right now, ignore required field, as can't really populate the field with the current value as the current value is sometimes hashed (though could for plain text storage..) and I think core doesn't use default value for cck verifcation form.
So there's two thoughts on this
Pass in required, password would have to be renetered on node edit
Required if value is empty, don't offer the weird delete checkbox I currently do.
Hm, I could see both being useful.
Comments
Comment #1
jasonsafro commentedI got around the required issue with:
That makes the field required only on initial creation. It also hides the field on edit pages b\c I needed that for another reason.
Comment #2
hefox commentedCommited ...some handling of required. It's a bit weird but it's trying to handle the various cases (multi, single values, etc.). Required when value empty and delta=0 and set to be required, otherwise not required