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?
-
☆ 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.
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>
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>
-
☆ 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 [!...!]?
I actually have it reporting to a SQL Database. I am looking in modx now for the snippet info.
somehow the above works w/o the : in front of string. Go figure