[Html-widget] form onsubmit action for upload progress

Ryan Lauterbach ryan at radianit.com
Mon Oct 23 11:59:09 GMT 2006


Hi,

I wanted to use the Catalyst UploadProgress thingy in a form, but I need 
to set an onsubmit action.  I didn't see a way to do this in the docs, 
but is there a way?  Is it possible to do this in a subclassed 
HTML::Widget::Container, and if anyone has done it do you care to share?

my form tag needs to look like:

    <form action='/upload'
          method="post"
          enctype="multipart/form-data"
          onsubmit="return startEmbeddedProgressBar(this)">



Thanks

Ryan



More information about the Html-widget mailing list