XF 2.2 <xf:submitrow with reset button?

eDaddi

Active member
New to XF, I searched templates looking for examples with no luck.

Is there no way to add a reset button to clear a form with the <xf:submitrow syntax?

Obviously I can add a second button after but it doesn't appear in the same row.
 
There are a few examples; here's one from the template_modification_edit template:

HTML:
<xf:submitrow sticky="true" icon="save"><xf:html>
   <xf:button type="submit" name="test" value="1">{{ phrase('test') }}</xf:button>
</xf:html></xf:submitrow>
 
Thanks @Chris D

Code:
<xf:submitrow sticky="true" icon="search">
    <xf:html>
        <xf:button type="reset" icon="toilet">Clear</xf:button>
    </xf:html>
</xf:submitrow>
 
Top Bottom