-
- 1,154 Posts
Wow great! So you are getting all the output now? What about the null values?
-
- 932 Posts
You could try this:
[[!getImageList? &tvname=`WarmeGerechten` &tpl=`@CODE:[[+Value[[+title]]:is=`0`:then=``:else=`<p>[[+property.tvname]]:[[+title]] Quantity: [[+Value[[+title]]]]</p>`]]`]]
-
- 932 Posts
is the value of 0 selected by default?
ie:
<select name="Value[[+title]]">
<option value="0" selected>0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
-
- 34 Posts
Yes it shows 0 at default, but I didn't add it in the code like you show above.
Just tried the code, it still shows the full list.
-
- 1,154 Posts
Would this work
<select name="Value[[+title:default='']]">
[ed. note: nuan88 last edited this post 5 years, 7 months ago.]