[AccessD] PHP code error

Kathryn Bassett kathryn at bassett.net
Wed May 20 20:27:42 CDT 2009


Haven't a clue. I'm trying to use Dreamweaver to do it. I don't know the
code at all. tblCScollectionName is the field that holds the name of the
collection and tblCScollectionDescription is the field that holds the
description of the collection. I may have to wait til I can "talk" to
someone who is conversant with Dreamweaver if the code itself doesn't tell
someone something.

Kathryn

> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com 
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of 
> Michael Bahr
> Sent: Wednesday, May 20, 2009 5:45 PM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] PHP code error
> 
> Hi Kathryn, is there an actual error message or just not the 
> expected results?  I would **guess** that tblCScollectionName 
> is part of the form validation but tblCScollectionDescription 
> is not.(?)  Try adding the field to your code like below.  
> This is only a guess.  
> 
> Also there is a $formValidation1 variable not used--either 
> remove it or comment it out.
> 
> // Start trigger
> $formValidation = new tNG_FormValidation();
> $formValidation->addField("tblCScollectionName", true, 
> "text", "", "1", "", ""); 
> ==>$formValidation->addField("tblCScollectionDescription ", 
> true, "text", "", "1", "", "");
> $tNGs->prepareValidation($formValidation);
> // End trigger
> 
> Note: this is hard to read.  I suggest using an editor the 
> does not line-wrap (like Ultra-Edit) and try adding blank 
> lines in between the "code groups with comments".  It makes 
> for much easier reading and debugging.  Add copious amounts 
> of space between php code and html code.
> 
> HTH, Mike...




More information about the AccessD mailing list