[xFv]
Well-known member
Does anybody know how to get the "reset" button working with spinbox through admin template?
I can get it working with this:
But that isn't right as you can see here:
If I try and save it with this:
It Errors and doesn't save.
Any Help is much Appreciated!
I can get it working with this:
Code:
<input type="hidden" name="checkboxes[]" value="{$property.property_definition_id}" />
<xen:spinboxunit name="properties[{$property.property_definition_id}]" value="{$property.propertyValueScalar}" label="{$property.title}" min="1" max="1000" step="1" />
<xen:include template="style_property_unit_extra" />
But that isn't right as you can see here:
If I try and save it with this:
Code:
<input type="hidden" name="checkboxes[]" value="{$property.property_definition_id}" />
<xen:spinboxunit name="properties[{$property.property_definition_id}]" value="{$property.propertyValueScalar}" label="{$property.title}" min="1" max="1000" step="1" />
<xen:html><xen:include template="style_property_unit_extra"><xen:set var="$reset">{xen:phrase reset}</xen:set></xen:include></xen:html>
It Errors and doesn't save.
Any Help is much Appreciated!