我正在处理一米问题,它带有一个领域,设定了违约价值,并隐藏了它。 问题是,它正在承担违约价值,而只是向数据库提交价值的第一特性。
//Here is how I m doing it
$form[ field_sr_account ] = array( #type => hidden , #value => 45 );
我认为,我组织我的阵列的方式是错误的,但我看不到。 I found a post, 某人只找到了第一种特性的解决办法
//Here is the format of the solution to the post - but it s not hidden
$form[ field_sr_account ][0][ #default_value ][ value ] = 45 ;
我怎么能够加上这种隐蔽的特性?