You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ryan Owens <ry...@infoether.com> on 2005/02/11 23:03:57 UTC

reset a form?

Is there an easy way to add a reset button to a tapestry form?

How about an image reset button?

Thanks,

     Ryan Owens


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: reset a form?

Posted by Ryan Owens <ry...@infoether.com>.
>> Is there an easy way to add a reset button to a
>> tapestry form?
> You can just add:
> <input type="reset" value="Reset" />
> To your HTML Template

Simple and worked like a charm, thanks. I had forgotten about 
non-tapestry tags. :)

I assume to get an Image reset button you'd have to build a Tapestry 
component with client side javascript to call reset on the form. Is 
that right? Does this already exist somewhere?

Thanks,

    Ryan Owens


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: reset a form?

Posted by Derek Brown <ze...@yahoo.com>.
You can just add:

<input type="reset" value="Reset" />

To your HTML Template


--- Ryan Owens <ry...@infoether.com> wrote:

> Is there an easy way to add a reset button to a
> tapestry form?
> 
> How about an image reset button?
> 
> Thanks,
> 
>      Ryan Owens
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org