We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14118
    • 7 Posts
    The following code:

    <label class="voting_label" for"beat_of_the_year">BEAT OF THE YEAR</label>


    <select class="voting_dropdown" name="beat_of_the_year" id="beat_of_the_year" eform="BEAT OF THE YEARstring:0">
    <option value="[+beat_of_the_year+]">[+beat_of_the_year+]</option>
    <option value="xyz">xyz</option>

    Is returning an error:

    BEAT OF THE YEARstring » Incorrect value

    Can anyone assist?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      It should be
      eform="BEAT OF THE YEAR::0"

      You missed a colon; and the string can be omitted since eForm will handle it by default.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 14118
        • 7 Posts
        Thanks, but for some odd reason the error is still popping up:

        <label class="voting_label" for"beat_of_the_year">BEAT OF THE YEAR</label>


        <select class="voting_dropdown" name="beat_of_the_year" id="beat_of_the_year" eform="BEAT OF THE YEAR::0">
        <option value="[+beat_of_the_year+]">[+beat_of_the_year+]</option>
        <option value="test">test</option>
        </select>
          • 14118
          • 7 Posts
          This is a working one:

          <label class="voting_label" for"club_promoter_of_the_year">CLUB PROMOTER OF THE YEAR</label>


          <select class="voting_dropdown" name="club_promoter_of_the_year" id="club_promoter_of_the_year" eform="CLUB PROMOTER OF THE YEARstring:0">
          <option value="[+club_promoter_of_the_year+]">[+club_promoter_of_the_year+]</option>
          <option value="207 Entertainment">207 Entertainment</option>
          <option value="250 Inc Promotions">250 Inc Promotions</option>
          <option value="AG Entertainment">AG Entertainment</option>
          <option value="CJ Entertainment">CJ Entertainment</option>
          <option value="CSR Promotions">CSR Promotions</option>
          <option value="Dj Joe Pro">Dj Joe Pro</option>
          <option value="Eminent Modeling & Promotions">Eminent Modeling & Promotions</option>
          <option value="Hot Girlz Promotions">Hot Girlz Promotions</option>
          <option value="Hustle Fam Marketing">Hustle Fam Marketing</option>
          <option value="Lisa Rogers">Lisa Rogers</option>
          <option value="Shunn Gunn">Shunn Gunn</option>
          <option value="Steletto Squad">Steletto Squad</option>
          <option value="Twinz-N-Control Entertainment">Twinz-N-Control Entertainment</option>
          <option value="Urban Professionals">Urban Professionals</option>
          <option value="Urbaneyes Music & Marketing Agency">Urbaneyes Music & Marketing Agency</option>
          </select>
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            It’s got the same error; you’re missing a colon before the :string: part.

            Is the eForm snippet called cached [[...]] or uncached [!...!]?
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 14118
              • 7 Posts
              I actually have it reporting to a SQL Database. I am looking in modx now for the snippet info.
                • 14118
                • 7 Posts
                somehow the above works w/o the : in front of string. Go figure
                  • 14118
                  • 7 Posts
                  well it got rid of the string portion of the error, but left the value error.. undecided
                    • 14118
                    • 7 Posts
                    EForm is [! !]