Solved

How to create a form which includes linked fields?

Posted on 2011-09-25
1
190 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 Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
A big percent of today’s marketing activity is performed through the online environment. The marketing strategies that have existed a decade ago no longer relate to what’s happening today. We’re currently facing a revolutionary era, called the digit…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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