0

trigger for multiple choice

It's possible to checks more then one in multiple choise field with a trigger?

The sintax could be something like:

if "a" is true then check "1" and "3" in the multiple choice field

8 replies

null
    • Agus
    • 6 yrs ago
    • Reported - view

    Hey Yuri!

    In my free time I somehow figured your problem.

    Screen Shot 2018-08-02 at 4.32.14 PM

    here you can see my three tables.  the code in the formula is  {  Number('multiple choice') } so whenever you choose different choices in the multiple choice, the formula outputs it in number form.

    Screen Shot 2018-08-02 at 4.33.54 PM

    here you see the number changed when I inputted 2 and 3. so that means to get 2 and 3 you have to give the multiple choice "6002" in order for it to choose 2 and 3.

    The buttion at the bottom gives this output { 'multiple choice' = 'text' }

    so it takes whatever is on the text field and puts in it multiple choice. apparently "5002" is 1 and 3. so if I press the button, the output should be 1 and 3 on the multiple choice field.

    Screen Shot 2018-08-02 at 4.38.01 PM

    and i was right :).

    the numbers might change if you have more than 3 choices, just check the ones you want and put it the formula that i wrote above so you can see the numerated format for it. and make that set of numbers equal for the multiple choice.

    your code --->{  if A = true then 'multiple choice' := "5002" end } and you should get and 1 and 3 selected.

    If u have anymore questions, email me at afernandez@provisionsinternational.com :).

    P.s. sorry for the long reply!

    • Yuri
    • 6 yrs ago
    • Reported - view

    Thankyou Agos 

     the fog start goes up...

    • Yuri
    • 6 yrs ago
    • Reported - view

    I tryed and unfortunately something is still lost..

    As you can see, my table gives a concat text in the text formula, and not every combenation o choice gives a number....

    • Agus
    • 6 yrs ago
    • Reported - view

    If you want, you can send me an invite to your Team so that I could see what the problem could be. The issue could be that the way the tables are linked together.

    • Yuri
    • 6 yrs ago
    • Reported - view

    pbm solved!

    I just deleted and re-created the choises...and now runs!....

    It gives a different number on every combenation..

     

    thanks for your help!

    • Agus
    • 6 yrs ago
    • Reported - view

    Great! No problem :)

    • Fulvio
    • 5 yrs ago
    • Reported - view

    Hi Yuri/Agus - I've followed this process and am having exactly the same problem as Yuri initially - some of my multiple choice combinations do not generate a number. however deleting and recreating them does not fix it. Do you have any suggestions?!

    • Yuri
    • 5 yrs ago
    • Reported - view

    I fixed deteling and recreating....perhabs with a new field... 

Content aside

  • 5 yrs agoLast active
  • 8Replies
  • 3228Views