Home

Customise buttons in userforms module

I wanted more control over the styling of submit buttons in the userforms module. The standard button use either an <input> tag or a <button> tag. I needed an extra span so I could style the button super pretty, à la:

So I extended UserDefinedForm by putting the file 'MyForm' in mysite/code:

About the Author

Name: Barry Keenan

Website: http://www.gingerleprechaun.com

Comments (1)

  • great job, Barry..
    nice for posting something for sharing..
    You Rock!

    Posted by alex, 02/08/2010 5:54pm (1 month ago)

RSS feed for comments on this page RSS feed for all comments

Post your comment