Solved

How to create a form which includes linked fields?

Posted on 2011-09-25
1
189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

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.
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

735 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