Three days into exploring drupal and loving it. Currently in the process of taking an old self-made php site and integrating it into drupal.

So, what's the easiest way to do the following. On my old drupal-less site, I had three pages:

1. First input-- which takes multiple formfields inputs from the user --->

2. Half-process input-- which shows a single "article" field that has is initially populated with default data created by initial user input, but can still be modified. --->

3. Final Display --> which shows a finished article.

-----------

So, I have used CCK custom article type and custom theming to do steps 2 and 3.

My question is, what's the best way to do step 1, where a user can put input into multiple forms, hit submit, and then that will automatically go to my "new custom-type content" screen with the relevant field pre-populated with default text based on the earlier stage.

I can think of lots of hackish ways to accomplish it-- if I wanted to, I could even do it all with a simple javascript. But what's the drupaly-way to do something like this?

Comments

zlex’s picture

The hackish way is the Drupaly way!

http://drupal.org/project/DefaultTextForNode

Might get you started in some kind of direction.

Drupal_is_amazing’s picture

Upon inspection, it looks like I'm going to have to dive into understanding the Forms API and creating my own module. Looks like pretty dense stuff, but probably worth learning.

I'm surprised there isn't a pre-existing module to provide some sort of very simple form and form-processing, sort of like how CCK and Contemplates allow for very simple custom content types and theming thereof.