injecting data into database, from form...BUT form embedded on a regular CMS list page?

4 posts by 3 authors in: Forums > CMS Builder
Last Post: September 4, 2012   (RSS)

By Codee - August 30, 2012

Hi IT, I've used the code page (Dave wrote some time ago) for injecting data from a form right into the database interfaced with CMSB - always works great! What I want to know is can that form page be built in to a regular cmsb list page? What I want is a tiny 4-question form on a sidebar (on the left side menu bar that is a list page) so that it can post on every page of the website?

Re: [equinox69] injecting data into database, from form...BUT form embedded on a regular CMS list page?

Hi Equinox69,

You didn't post the code you were using, but I don't see why it shouldn't work.

I'd give it a try on a test page and see what specific issues (if any) present themselves.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [equinox69] injecting data into database, from form...BUT form embedded on a regular CMS list page?

By Jason - September 3, 2012

Hi,

This shouldn't be a problem. You should be able to use an include to place your form on any page.

For example, if your page was called "myForm.php", you could include it like this:

<?php include("myForm.php");?>

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

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