PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Merge tags from dropdown

  1. Hi
    I have a dropdown box with some values:

    1 week|37
    2 weeks|74
    3 weeks|111

    The user choose 1 week, 2 weeks etc, and the value is 37, 74 etc.
    Now i would like to make a link with the values that can be populated dynamically.

    mydomain.dk/&week=37
    But instead of 37 its mydomain.dk/&week=1 week

    how do i get the value instead?
    thanks

    Lars

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  2. David Peralty

    Add :value to the merge tag you are using.

    So something like {dropdown:value}

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  3. Thank you David :)

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  4. David Peralty

    No problem. All my best!

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  5. How does this work for Product drop downs? I have:

    1'|1|$21.95
    2'|2|$43.90

    This goes up to 21' feet.

    I have two other drop downs that need to calculate based on their first selection.

    Support Brackets
    Joining Couplers

    I thought I could use a Product calculation and just multiply. When I use {merg tag name:1} it shows the price. When I use {merge tag name:1:value} it still shows the price and not the value number. So I can't take the length value and divide by 2 and then times it by $8.50.

    What I would like to do is pre-populate the second and third drop downs with the corresponding length.

    Support bracket pricing is based on 1 bracket for every 2 feet in length.
    1'|1|$8.50
    2'|2|$8.50
    3|3|$16.50
    4|4|$16.50
    etc.

    Couplers are based on 1 coupler for every 7 feet in length.

    1'|1|$16.50
    2'|2|$16.50
    ...
    8|8|$33.00
    9|9|$33.00
    etc.

    So if they select 8' feet in drop down 1 I want 8' to be selected automatically in the second two product drop downs.

    How do I accomplish this? I have spend many hours trying to find informative docs on how to use merge tags and pre-populate fields. It seems everything is based on pre-popping from page meta info or passing values from one page to another, etc.

    Posted 11 years ago on Friday June 14, 2013 | Permalink