We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3689
    • 264 Posts
    I’m creating a backend for a real estate website and would like to add the "Lot Size".. this is usually displayed as "## x ##" is there anyway I can create a template variable will have 2 Dropdowns with an "X" between them? so it will show as "[Dropdown] x [Dropdown]"?

    If not whats the best option?
      • 3749
      • 24,544 Posts
      I don’t know of any way to do that. Offhand, here are a couple ways to go:

      1. Use a single TV and just teach the user to enter the ’X’. You could use a snippet to parse that later if you need to (e.g. to calculate sq feet).

      2. Use two TVs, Lot Width and Lot Depth. You can display them together with an X on a property’s page (or separately -- I think that’s what I’d do).

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 3689
        • 264 Posts
        Quote from: BobRay at Jan 18, 2010, 04:02 PM

        I don’t know of any way to do that. Offhand, here are a couple ways to go:

        1. Use a single TV and just teach the user to enter the ’X’. You could use a snippet to parse that later if you need to (e.g. to calculate sq feet).

        2. Use two TVs, Lot Width and Lot Depth. You can display them together with an X on a property’s page (or separately -- I think that’s what I’d do).



        thanks! ill probably end up goin with number 2