On Sat, Apr 25, 2009 at 3:06 PM, Marcus Veloso <mveloso.j...@gmail.com>wrote:
> Another option? > > ... > <t:form t:id="cancelForm"> > <t:submit value="Cancel"> > </t:form> > ... > > > void onSubmitFromCancelForm() { ... } > I included that one: > I could move the cancel button outside of the form element (outside a > form, or in another form <http://markmail.org/message/kwyqzh5o6lonmam6>) > to retain the button look-and-feel, but then I'd need to do some tricksy CSS > work to get the button to appear side-by-side with the submit button, where > I want it to be. Probaby quite doable, but not really what I'm looking > for. I could also skip that step, and just have the submit and cancel > buttons appear in different places, which would be a little odd, but would > solve the problem. > It's not a /bad/ option, it's just a little more CSS work to make it appear part of a single consistent form layout, given default CSS. Presumably doable (I haven't tried, but CSS makes HTML layout pretty dang flexible, so I'm assuming it could be done), but it does more damage to the page layout than I'd ideally like. It's probably not my first choice, although perhaps if I tried it, I might find it's less work than I imagine it to be. Are you going this route? Do you bring the cancel button into a single form layout with CSS? - Geoffrey -- Geoffrey Wiseman http://www.geoffreywiseman.ca/