Code:
function form($form){
$form['item1'] = array(
'type' => 'textarea', .........itd
$form['item1'] = array(
'type' => 'textarea', .........itd
$form['submit'] = array(
'type' => 'submit', .........itd
}
$a = drupal_get_form('form');
drupal_render($a['item1']);
..... itd
drupal_render($a['item2']);
.... itd
drupal_render($a['submit']);
function form($form){
$form['item1'] = array(
'type' => 'textarea', .........itd
$form['item1'] = array(
'type' => 'textarea', .........itd
$form['submit'] = array(
'type' => 'submit', .........itd
}
$a = drupal_get_form('form');
drupal_render($a['item1']);
..... itd
drupal_render($a['item2']);
.... itd
drupal_render($a['submit']);
kako bih resio ovaj problem, izmedju render-a svakog elementa nalazi se neki kod, slika, forma ...itd, problem je sto se forma ne zatvori <form></form> i ne moze da odradi action?
Hvala unapred