Hi,
I can’t get a particular set of dynamic_parameters to work correctly, but I can’t see where I might have gone wrong, or if anything I’ve used isn’t supported;
<form action="/reports/csv" method="post">
<div>
<label>Start</label>
<input type="text" name="start_on" id="start_on">
</div>
<div>
<label>End</label>
<input type="text" name="stop_before" id="stop_before">
</div>
<div class="action">
<input type="submit" value="Generate report">
</div>
</form>That simple form (using jQuery UI datepickers on the text inputs) submits to this:
{exp:weblog:entries weblog="orders" status="paid" dynamic_parameters="start_on|stop_before"}
{order_items:table}
{/exp:weblog:entries}{order_items:table} is a CartThrob tag - it should filter order by the dates I set, but the dynamic nature of it doesn’t seem to work. When I hard code the start_on + stop_before, using the values from the form in the first stage, it works fine…
Is there anything special I have to do to use dynamic_parameters? Page caching is off for /reports/csv
Thanks,