« MT 2.62 is here | Main | MTVote »
March 05, 2003
MTForm
While I've been developing MTVote, I have received a few requests to help in the writing of HTML forms. Initially I was just going to incorporate something into MTVote, but then I decided that what I wrote was deserving of it's own entire plugin. So, I present to you: MTForm.
At the moment, it's only provides two tags: MTForm and MTFormSubmit. MTForm is a container tag that takes a required argument script that is the script to send the form data to, and an option argument path which defaults to the CGIPath in mt.cfg. MTFormSubmit produces a submit button for the form and takes one optional argument text that defaults to "Submit".
Here's a quick little example of how to use it:
I realize it doesn't do much yet, but in the spirit of Open Source software's motto "Release Early, Release Often," I am doing just that. Feel free to let me know what you'd like MTForm to do. I appreciate any and all suggestions.
Update: Download the tar.gz or zip archive.
Posted by rayners at March 5, 2003 12:50 AM
Trackback Pings
TrackBack URL for this entry:
http://mt.rayners.org/mt-tb.cgi/160
Listed below are links to weblogs that reference MTForm:
» Form from MT Plugin Directory
Currently in development; created originally for use with the Vote plugin. [Read More]
Tracked on March 10, 2003 01:34 AM
Comments
Hi David,
I am currently trying to find a solution for the following:
I need to maintain a list with people who use ICQ. I want to have a table with their real name, their nickname, their ICQ number and their location. I also want people to be able to fill in these details in a form and then have the form append their input to the table, so their data is shown, preferably on the same page as the form.
I've been thinking about this a lot, even, tried to alter the comment script but I can't think anything up that does this for me.
You asked for suggestion - well. here is one!
Kind regards
Frederique
Posted by: Sproet at October 25, 2003 07:13 PM
Do you have a download link for this plugin?
Posted by: Al-Muhajabah at March 6, 2003 08:17 PM