Contribution Date
Technology
Contribution Project
Contribution Details
Yes, I checked that but its not helpfull. what i need is something like this.
function drupal_form(){
$form['field'] = array(
'#type' => 'textfield',
'#title' => t('Name'),
);
$form['field_name'] = some_function('existing_field_name'); // "exiting_field_name" is the field that i created on a node_type and this code should return the field structure like form api.so it can be rendered as form element.
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('submit'),
)
return $form;
}
Please let me know if its not clear.
Contribution Issue Link
Contribution Link
Files count
0
Patches count
0