How to pass data to another field based on user's answer?

  • mryap82
    Asked on March 18, 2018 at 10:05 AM

    Hi, we will launch this end user campaign to invite our end user participate to select who are the winner from quarter-final to campaign.

     

    My design is simple as below flow:

    Page 1

    Customer Info

     

    Page 2

    Quarter-Finals

    Group A

    Group B

    Group C

    Group D

    Group E

    Group F

    Group G

    Group H

     

    Page 3

    Semi-Finals

    Group A (Options will be Quarter-Final Group A and Group B)

    Group B (Options will be Quarter-Final Group C and Group D)

    Group C (Options will be Quarter-Final Group E and Group F)

    Group D (Options will be Quarter-Final Group G and Group H)

     

    Page 4

    Champion & Final

    Final A (Options will be Semi-Finals Group A and Group B)

    Final B (Options will be Semi-Finals Group C and Group D)

     

    Champion (Options will be Finals Group A and Group B)

     

    Submit point to Tq page.

    Just need to know in Semi-Finals, how do set the options Options will be Quarter-Final Group A and Group B?


    Please advise, Tqvm

     

  • Victoria_K
    Replied on March 18, 2018 at 10:40 AM

    Unfortunately, I am not sure if I understood the idea in full, but I suppose you need to paste some data from previous sections into the Semi-Finals one. Am I right? 

    If so, my recommendation would be to use a Form Calculation widget or to set up the conditional logic to copy fields' values. The following guides would be of help:

    How-to-Perform-Form-Calculation-Using-a-Widget

    How-to-Pass-Field-Value-to-Another-Field

    If my suggestion was not correct, please provide us an actual example of what and where you need to paste and we will gladly assist.

  • mryap82
    Replied on March 18, 2018 at 10:47 AM

    Hi Support, 

    I need add the two options value for Semi-Finals Group A which is from the result Quater-Final Group A and Group B.

    Please advise and Pass-Field-Value-to-Another-Field is only can pass one field to another field, but i need pass two field result to another fields options.


    Please advise.


    Tqvm


  • Victoria_K
    Replied on March 18, 2018 at 11:45 AM

    Unfortunately, you have not mentioned which exactly result you need to pass, so I will go ahead and try to create the supposed example. 

    As I see, you have dropdown fields at your Quater-Final section. I assume that some calculations need to be performed there, so it would be usefull to assign calculation values to the dropdown options:

    1521386889screenshot Screenshot 10

    To do the calculation, I would recommend to add a Form Calculation to the form. That field can be set to Hidden if needed:

    How-to-Hide-Form-Fields

    1521387155screenshot Screenshot 21

    After the result is calculated, new value can be passed to Semi-Finals through conditional statement:

    1521387663screenshot Screenshot 32

    1521387949screencast2 Screenshot 43

    Please note that I've added a Short Text Entry field instead of the existing dropdown to hold a result. 

    If you share the logic as to calculations needed, we will try to assist!

  • mryap82
    Replied on March 18, 2018 at 7:59 PM

    Hi Support,

    Sorry for my poor explanation, let me explain more for the requirement. If the end user select the quarter-final group A is "Egypt" and group B is "Portugal". The semi-final group A options will be from this two end result "Egypt" and "Portugal" for end user do the selection.


    Please advise.


    Tqvm




  • BJoanna
    Replied on March 19, 2018 at 3:34 AM

    Unfortunately, that is not possible. The selected field options cannot be passed as a new field option of another field.

  • mryap82
    Replied on March 19, 2018 at 4:26 AM

    Hi Support,


    Any ways i can do like this, this is the common logic for the match game...

  • mryap82
    Replied on March 19, 2018 at 5:14 AM

    Hi Support,

    i try do the conditional copy value like below but it seems no work also.

    please advise

     

     1521450950xxx Screenshot 10

  • Adrian
    Replied on March 19, 2018 at 8:53 AM

    That will not work because GROUP AA is a Dropdown element and you can only set a Dropdown to equal to an option of the element. Currently, the GROUP AA element does not have any options.

    I suggest you change that to a Short Text Entry element.

    Also, you have to remove the logos that you have used in your form or you must provide proof that you are allowed to use them. Otherwise, your forms will get disabled and your account suspended.