Posted by dawehner on December 1, 2007 at 10:57pm
Solved
very strange , but i commented print_r(array_values($form)); and than it works
so i try to theme 3 different kinds of input forms
all is displayed well, but there is NO save into the DB or no elements are sent by the submit Button
thats my theme
http://drupal.pastebin.com/mb5311a6
the normal form works very well
So what do i have to do that the data is saved
Comments
Did you get this resolved?
I see you have edited it to say solved, but a quick description of how you solved it would be useful.
Dave
the solution was such
the solution was such easy
<?phpprint drupal_render($form['form_token']);
print drupal_render($form['form_id']);
?>
has to be in the theme, I'm not sure yet what makes what or whether only one of this is needed
re: drupal_render($form);
I think you can also just use drupal_render($form) and it will render whatever form elements you have not yet rendered.
Dave
not yet, cool! very good
not yet, cool!
very good tipp
i have a idea of a workflow with nodetyp:client, bill, products, letters etc. based on drupal