We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24422
    • 15 Posts
    I need to use a multiple select form element however, I am unable to retrieve the selections in the report.

    I have the following:
    <select  multiple="multiple" name="services[]" size="5" eform="Services:listbox:1" />
    <option value ="service1">this</option>
    <option value ="service2">that</option>
    </select>
    

    But when I call [+services+] for the report, it always returns selected='selected'

    I've also tried
    <select  multiple="multiple" name="services[]" size="5" eform="Services:listbox:1" />
    <option value ="service1[+services:service1+]">this</option>
    <option value ="service2[+services:service2+]">that</option>
    </select>
    

    and
    <select  multiple="multiple" name="services" size="5" eform="Services:listbox:1" />
    <option value ="service1[+services:service1+]">this</option>
    <option value ="service2[+services:service2+]">that</option>
    </select>


    but in both cases I get this error:  Services » Incorrect value

    How do I get this to work??

    I'm using  1.0.0 RC1 and eForm 1.4.4.5 [ed. note: smashingred last edited this post 15 years ago.]
      • 24422
      • 15 Posts
      Oh, AND it won’t accept only one selection
        • 36698
        • 19 Posts
        Have you solved it? I have the same problem - how to show drop down selects in report?