Hi. I need to create a submission form that behaves the following way. Step 1: Student registers and once they are approved they will prompted to complete Step 2: Student Information;
Upon completion of Step 2 when they hit submit, the registrant will be prompted to schedule an appointment to meet with primary mentor to complete Step 3: Project Information.

Step 1: Registration Form
- first name
-last name
-contact info
- Terms of use

Step 2: Student Information
- School
- Academic Degree
- Anticipated Graduation
- Rotation Program (if applicable):
- Current Position/ Source of Support
....bunch of other fields

Step 3: Project Information
- Project Title:
- Project Description:
- Project Start Date:
- Project Deadlines:
...bunch of other fields

I was thinking I could complete Step 1 using profile module to add new fields.

For Step 2 I was thinking of creating Student Information content-type.

For Step 3 do the same. Create another Project Information content-type.

How would you do this? Am I making this more complicated that it is?

Thanks in advance

C

Comments

spovlot’s picture

I think your ideas seem reasonable. The user profile and content types seem like a good idea.

If this is a new site, have you considered using D7?

ceci123’s picture

Hi spovlot, thanks for your kind response.

Assuming that I end-up creating two content-types one for Step2 and one for Step3. Will I have to mess with Views Relationships and Arguments? I've never done anything with Relationships or merged multiple content-types into one view.

oh...I can't use D7 our webserver does not meet the minimum requirements. Just wondering is it easier in D7?

Thanks again.

C

spovlot’s picture

Sure. You might want to link the 2 content types together with a node reference. You might have to use Views relationships and arguments depending on what you want to display. Hard to say. You can find various tutorials on this. There is some documentation at http://drupal.org/node/289738 .

D7 is a bit easier. Hopefully your requirements issue is something like PHP version and not memory or disk space.

ceci123’s picture

That's a very nice tutorial, thank you!

To see what it does I followed the tutorial and successfully completed all the steps(See Screenshot). It looks like it works well for band - artist scenario but not sure how to make it work for me.

In my case the user(student) will NOT need a drop down of choices since it always be only one item for each Project Information(Step3). Think of Step 2: Student Information as been an extension of his/her profile except its a node content-type. It will be a One-To-Many relationship. I don't even know how to explain it well.

Is there a way to make the 'node reference field' read only or completely hide it. Or is there a better way to do this. What are your thoughts on this.

Thanks again.

C

spovlot’s picture

Well, maybe you don't need to use any node reference. If the user is going to create all of these content items, then you could just use the user as the common field.

ceci123’s picture

Somehow it sounds like a very good idea...would you mind expanding a bit more on 'then you could just use the user as the common field'? If you could provide an example would be great.

Yes the user will be creating all the content items.

Thanks again.

C

spovlot’s picture

I was thinking about have a "My Student Info" and/or "My Project tab". You could do this using a View similar to the "My Content" tab example at http://drupal.org/node/351342 . You could clone the example view at that page and limit it to Student Info or Project. This View accepts an argument for the user id to limit the results to that user.

ceci123’s picture

I imported the view and it works great. I have done something similar in the past (screenshot) and it allows the user to only see the content he/she owns.

Unless I am missing something I think this will become handy later once I figure out how I can get the student enter content in two separate node content-types (one for step1 and one for step2) without the 'node reference' field.

This might sound crazy but I even tried expanding/adding fields from Step 2 to the Profiles page I but I ran into another problem. I wanted to add a link on Step 3: Project Information but It won't let me. If I could somehow link the "Step 3: Project Information" tab to the content-type (eg. projects/node/add/projects ) that could work.

There is got to be another way. Any other ideas? Thanks for being the only one to respond.

C

spovlot’s picture

Well, I am not sure how complex this process is. You mentioned approvals at each step. You might want to look into using the Rules module (http://drupal.org/project/rules). You can find a tutorial at http://dev.nodeone.se/en/learn-rules-d6-with-nodeone

Rules would allow you to send send emails or notifications and perhaps create a new project automatically when the student Info is saved.

Also, I expect that I will be the only one to reply. Once someone starts helping with an issue, it is unusual for other people to chime in.

ceci123’s picture

Looks like a nice long tutorial. After all that I'll be an expert :)

I'll get back to you. Thanks again for your help!