We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51815
    • 5 Posts
    Hi,
    Im having an issue with the tvLabel Output filter.
    I have two Listbox (multiselect) Template Variables, that use the tvLabel output filter. One works perfectly fine, and the other outputs nothing? They are setup exactly the same. Has anyone else had this issue?

    The first call that works just fine
    <h1> Name ( [[*workingTV:tvLabel]] )</h1>
    Input Option Values:
    
    TVLabel1==Value1||TVLabel2==Value2||TVLabel3==Value3||
    

    Outputs
      <h1> Name ( TVLabel1 )</h1>


    The second call I have is set up exactly the same as above but instead outputs
      <h1> Name ()</h1>


    [ul]
    [*]MODX Cloud Version: Revo 2.6

      • 38783
      • 571 Posts
      Can you post all the code for both of them? Both the TV input options and the call to output the result.
        If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

        email: [email protected] | website: https://andytough.com
        • 51815
        • 5 Posts
        Quote from: andytough at Mar 21, 2018, 12:41 PM
        Can you post all the code for both of them? Both the TV input options and the call to output the result.

        Not a problem:

        Below is the code that is working as it should:

        TV Input Options:
        Colorado Access,==coaccess||BHI Medicaid,==bhi||Beacon Medicaid,==beaconmed||Anthem BCBS,==anthembcbs||UBH Optum,==ubh||Cigna,==cigna||Beacon/VO,==vo||Medicare,==medicare||Tricare,==tricare||Aetna,==aetna|| Cofinity/DHMP,==cofinity||First Health,==firsthealth||Anthem EAP,==anthemeap||MHN,==mhn||Magellan,==magellan||Multiplan/PHCS,==multiplan||Humana,==humana


        Output Call
        <em>[[*insurance:tvLabel]]</em>


        Below is the call that is coming up blank:


        TV input Options:
        Arvada==arvada||Aurora==aurora||Boulder==boulder||Broomfield==broomfield||Denver==denver||Distance==distance||Lakewood==lakewood||Lafayette==lafayette||Longmont==longmont||Greenwood Village==greenwood||Ft. Collins==ftcollins||Elizabeth==elizabeth||Westminster==westminster


        Output Call
         ([[*providerlocation:tvLabel]])


        One thing I forgot to mention is that if I take off the :tvLabel it outputs the value of the TV just fine, but only when I attach the filter does it come up blank.