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.
Do you have a download link for this plugin?
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