?
Solved

How to create a form which includes linked fields?

Posted on 2011-09-25
1
Medium Priority
?
192 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 2000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

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…
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

765 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