Can we use CMS with a page form to collect data from visitors?

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 28, 2009   (RSS)

Re: [RapidWeb] Can we use CMS with a page form to collect data from visitors?

By Dave - April 28, 2009

Hi RapidWeb,

I've attached a sample add form that will insert a record into the database. If you create a checkbox called 'hidden' in the CMS and set that to 1 by default for new records created with the add form that should do what you want.

Another approach is to setup user accounts as you suggested. Just create the same 'hidden' checkbox field and make it admin only (in the field editor) with a default value of checked. Then users won't be able to set records to un-hidden, only admins will.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
Attachments:

addform_005.php 3K

Re: [Dave] Can we use CMS with a page form to collect data from visitors?

By (Deleted User) - April 28, 2009

I think we will go with the second option for now because like this we won't have to design anything att all in Dreamweaver. Just a link. Will post how it works.