Hi!
I am writing a new node type, and I want to put a button to the edit form, which opens an another page (for example an other node's edit form). I don't want to submit the form, because there may be unfilled fields.
I read the form API, but there isn't too much from the buttons... I viewed the node module, because the delete button on the node's core edit form does something like I want. I found this:
Hi,
I'm new to drupal and startet writing my own modules. Now that I have tried the upcoming 5.0 version of drupal I want to continue developing my modules for the new version.
I created a new node type and extended the node form by using the hook_form(). According to http://drupal.org/node/64279 (Converting 4.7.x modules to 5.x) this hook does not seem to have been changed or removed so I thought at least displaying the nodes form should work. But it seems I'm wrong.
I have built a simple form which seems to be capturing the data ok as I have checked the database that they are inserted correctly. When I tried to edit the form, the form displays default values for each field instead of the data from the database, what could be wrong?