Cancel Button?
Archived from the Xataface Users forum.
JonP — Mon Aug 24, 2009 4:02 pm
Is there an easy way to add a cancel button to the secondary forms, such as update or add new?
Other tools I’ve used such as ATK automatically add one and from an end user’s perspective I find that desirable.
I’ve tried the docs and searched the forum but couldn’t find anything obvious.
Jon P.
shannah — Tue Aug 25, 2009 1:41 pm
This would be a good feature. You could add such a button quite easily using blocks and slots. There should be an appropriate one just before the save button that you can fill.
Load the page with debug=1 in the conf.ini file to show a readout of where the available slots are.
-Steve
JonP — Tue Aug 25, 2009 3:01 pm
shannah wrote:This would be a good feature. You could add such a button quite easily using blocks and slots. There should be an appropriate one just before the save button that you can fill.
Load the page with debug=1 in the conf.ini file to show a readout of where the available slots are.
-Steve
Hmmm - haven’t come across those yet - I’ll check it out - thanks.
I guess the simple action to take is to trigger browser back - or is there something in Xataface I should be invoking to “clean up”?
Jon P.
shannah — Tue Aug 25, 2009 3:05 pm
Browser back would be sufficient.
e.g.
- Code: Select all
<input type="button" name="back" value="Back" onClick="javascript:history.back();"
JonP — Tue Aug 25, 2009 3:16 pm
Thanks Steve - I’ll give it a shot.
Jon P.