Skip to content

setting variable question

Hi,

Let s say we have:

*a*={choice1|choise2}|%random_option%
*b*={choice3|choise4}|%random_option%
ab={choise6}|%random_option%

And a field "ab" with selectbox choice :  choice4, choice5

How will be "ab" set ?







Comments

  • SvenSven www.GSA-Online.de
    ab will be matching first as it has no mask and is more precise. However the {choice1|choice2} is not working. It should have simply | without the {}
  • edited October 2014
    Hi  Sven, and once again, thank you for your time.
    Your answer is not clear to me.

    So, i fix the question:

     *a*=text1
     *b*=text2
     ab=text3
    And a string field "ab"

    1) How will be "ab" set ?   "text1", "text2", "text3"  ?

    2) How will be "ba" set ?   "text1", "text2", "text3"  ?

    3) so matching is searching for exact patern first, and , ONLY if not found, search for matching mask ?





  • SvenSven www.GSA-Online.de
    1) text3
    2) text1 as it is defined before *b*
    3) yes
  • thank you Sven for this very clear answer, it helps a lot
Sign In or Register to comment.