2
在我的鉤形式改變,這是出生陣列日期:如何隱藏覆蓋表單中出生日期字段?
[Birthdate] => Array(
[#type] => fieldset
[#title] => Birthdate
[#weight] => 1
[profile_birthdate] => Array(
[#type] => date
[#title] => Birthdate
[#default_value] =>
[#description] => The content of this field is kept private and will not be shown publicly.
[#required] => 1
)
)
我曾嘗試:
unset($form['Birthdate']['profile_birthdate']);
unset($form['Birthdate']);
和我仍然得到「請輸入一個有效的日期不工作出生「消息。我想隱藏該字段並且沒有消息。
謝謝。它做到了。 – jini 2010-07-29 08:12:42