Getting no output with low options
Hi,
I am trying to use low options (in my low search) and I cannot get any output.
Using
{exp:low_options:area}{options}<option value="{option:value}">{option:label}</option{/options}{/exp:low_options:area}
my custom field is area and my channel is vacancies.
Does it have to be in a form field to get any output?
Replies
Low 12 Mar 2014 11:14
What are your EE, Low Options and PHP versions?
Which type is the area field?
Ross Hulford 12 Mar 2014 11:20
Hi,
Thanks for the quick reply,
EE v2.7.3
php - v5.5.3
it is a standard EE select dropdown, attached are the options.
Low 12 Mar 2014 11:32
Can't seem to replicate. What's the Low Options version? And can you share the full template code? You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.
Ross Hulford 12 Mar 2014 11:47
http://pastie.org/8911173
Low 12 Mar 2014 12:06
You might want to put those option-elements inside a select-element.
Ross Hulford 12 Mar 2014 12:12
sorry, I thought it would just output the options in a loop as html.
Thanks for the help.
Low 12 Mar 2014 12:14
It does, but the example code has the <options>, as that's what people use it for most. Here's a "raw" example, without HTML: