Solved

How to create a form which includes linked fields?

Posted on 2011-09-25
1
186 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wordpress - hosting images offsite 5 94
How to find and delete contents of C drive 11 177
Correct the grammar  for the below  below paragraph 3 133
canoeing wordpress theme 4 111
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

13 Experts available now in Live!

Get 1:1 Help Now