Posting form results to CMS database

8 posts by 5 authors in: Forums > CMS Builder
Last Post: November 30, 2010   (RSS)

By wcd - October 29, 2010

We have a developer working on a contact form that will post to the MySQL database used by CMS Builder so we can log in and view/export the submissions via the CMS interface. Do we need to set up the table and the fields through CMS Builder and have him code the form to post to them or can he set up the fields himself in the MySQL table?

Re: [multimedia_nj] Posting form results to CMS database

By Jason - October 29, 2010

Hi,

If you want the files to be viewable inside CMS Builder, you'll need to create the section with it's fields directly in CMS Builder. The software will then take care of creating the table in MySQL.

Hope this helps. Please let us know if you have any other questions.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Posting form results to CMS database

hi
i want to show contact us form on my website and when user click on submit admin can see list of enquires in cms

i dont have good knowledge of php so please help me

any help would be appriciated

Re: [multimedia_nj] Posting form results to CMS database

You could use a work around buy the maildownload plugin

setup a email account

let the form content be send to that account and the cron job of maildownload plug in adds it to de cmsb database and section

great tool.

greets
-------------------------------------------

Dropmonkey.nl

Re: [vij] Posting form results to CMS database

By aev - November 26, 2010

Take a look at the attached files.

addForm adds a form to CMSB.
mailForm sends a form using email.

I usually use the code from both when creating forms. Add the data to CMSB and send it to one or more recipients. I have a field for each CMSB user named 'receive_email', when that field is checked the user receives the form.

This way our clients can control/change who receives the email from the form.


-aev-

Re: [aev] Posting form results to CMS database

hey Maurice and aev thank for quick reply

@aev
your code worked for me. thanks a lot.

Re: [sballinger] Posting form results to CMS database

By aev - November 30, 2010

It's not my code, I have downloaded it from this forum in the past, I guess it is coded by Dave or someone else at InteractiveTools.

Glad to hear you found it useful. I use it myself on several of our projects.

-aev-