Cancel Button?

A place for users and developers of the Xataface to discuss and receive support.

Cancel Button?

Postby 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.
JonP
 
Posts: 14
Joined: Thu Jul 30, 2009 6:56 am
Location: Mississauga

Postby 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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby 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.
JonP
 
Posts: 14
Joined: Thu Jul 30, 2009 6:56 am
Location: Mississauga

Postby 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();"
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby JonP » Tue Aug 25, 2009 3:16 pm

Thanks Steve - I'll give it a shot.

Jon P.
JonP
 
Posts: 14
Joined: Thu Jul 30, 2009 6:56 am
Location: Mississauga


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 11 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved