Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-08-13 09:47:10

CodeWalker
Member
From: Hampshire, UK
Registered: 2010-01-08
Posts: 110
Website

Store contact form in the Database

Is there an easy way to store user input in the database? Im using zem_contact_reborn but instead of mailing the form contents, Id like it to add it to the database.

Im building a microsite for a client which involves users completing a form (the forms purpose is to capture there vote for an awards ceremony). They need to be able to select the award and then pick a nominated person from a drop down list and submit the form. I know there are polling plugins but they are old and development has ceased. They dont quite do what I want anyway.

Is there an easy way to do this?? I do not know PHP / MySQL.

thanks!

Offline

#2 2010-08-13 10:08:01

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Store contact form in the Database

If you don’t mind saving the votes as articles, then you could look into:

Manfre’s plugins come in packages of three :P

Offline

#3 2010-08-13 10:28:00

CodeWalker
Member
From: Hampshire, UK
Registered: 2010-01-08
Posts: 110
Website

Re: Store contact form in the Database

Thanks for the reply. Is there a simpler solution? mem_simple_form looks like it will do what im after but its not too clear from the documentation how to do it.

Offline

#4 2010-08-13 10:44:19

CodeWalker
Member
From: Hampshire, UK
Registered: 2010-01-08
Posts: 110
Website

Re: Store contact form in the Database

Read a bit more and seems I can do what I want. i think. Ill post again if i get stuck.

Offline

Board footer

Powered by FluxBB