Jump to content
  • 0

Parameter in one DataPage effects choice in another


JohnJ

Question

Just getting started with Caspio and am stumped. I have 2 DataPages that I am using on the same webpage that creates a 'Game'. A Game consists of a team, players and various statistics. One of the forms allows the user to create a new game and select a team from a dropdown that is populated from a view consisting of player names with various info like the team they are on and their player number. The second DataPage is were the stats get entered. On there is a drop down to display player numbers. I use the player number to link the stats to the player.

What I need it to do is update the player number dropdown with all the numbers that are linked to the team that is selected in other DataPage. Hopefully that makes sense.

 

Thanks.  

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
On 1/27/2017 at 4:10 AM, JohnJ said:

Just getting started with Caspio and am stumped. I have 2 DataPages that I am using on the same webpage that creates a 'Game'. A Game consists of a team, players and various statistics. One of the forms allows the user to create a new game and select a team from a dropdown that is populated from a view consisting of player names with various info like the team they are on and their player number. The second DataPage is were the stats get entered. On there is a drop down to display player numbers. I use the player number to link the stats to the player.

What I need it to do is update the player number dropdown with all the numbers that are linked to the team that is selected in other DataPage. Hopefully that makes sense.

 

Thanks.  

You need to pass Team ID from the first datapage to the second one. On the second datapage create a virtual field and receive parameter. Then you may use that virtual field as a parent field for the player field. You may find more info here and here

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...