Solved

How to create a form which includes linked fields?

Posted on 2011-09-25
1
185 Views
Last Modified: 2013-11-05
Hello,
Is is possible to create a form with Drupal  for below scenario:
If so which modules should I use?

1. User posts a football team's photograph
2. User will be able to add predefined position like "goalkeeper, centre-back, sweeper, right-wingback, forward etc..."

every added category two extra field, player name and player photo, should be displayed too.

3. User will be able to add football player to just added position.
4. The player name entered the textfield will be displayed as link if the entered player exists.
5. If the player exist, his photo will be displayed adjacent to his name.


Recording page will be something like below:
........................................................
.........................................................
********* Team's Photo ************
.........................................................
......................................................... Upload Photo


Position                Name                  Player's Photo
Goalkeeper            Manuel Neuer          **Photo**
Rightback              Philipp Lahm          **Photo**
Forward                 Cacau                      **empty**
Add new position

Kind regards...
0
Comment
Question by:vileda
1 Comment
 
LVL 10

Accepted Solution

by:
Ultrus earned 500 total points
ID: 37078572
Anything is possible. I picture creating "player" type nodes that include pictures, names and bios. Then they would be referenced in a "team" type node using a node reference field.

These modules are something to look into which may help to varying degrees (tried to stick to D7 modules):

References (D6 version is called node reference), for referencing player nodes in a team node
http://drupal.org/project/references

View reference, for showing fields like name and picture in a pretty way (like a table) with views module, when viewing the team node, perhaps you could add a sort field to the player page for sorting in this view, or ...
http://drupal.org/project/viewreference

Nodequeue, haven't used this yet but I hear it's great for ordering nodes in a view
http://drupal.org/project/nodequeue

I wouldn't be able to give you the full answer to your question as there is a lot to it.. however I hope my feedback helps inspire some places to look. It is possible and even practical.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now