XF 2.2 <xf:submitrow with reset button?


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:

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

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