Skip to main content
Participant
November 6, 2010
Question

form variables don't appear in Bindings panel

  • November 6, 2010
  • 8 replies
  • 8683 views

Hello.  I am following a video at Lynda.com about dreamweaver and php.

I open an exercise .php file which has a basic form in it.  In the video he says to create a from variable for a text field with the name 'firstname'.  He clicks on the Bindings panel, clicks the plus button then form variable.  In the form variable dialog box he types firstname to match the form control then clicks OK.  IN the Bindings panel he has Form then firstname listed.

Now when I try to add a form variable nothing appears in the Bindings panel.

I was wondering if anyone had encountered this (is it a Preferences thing or what?)

This topic has been closed for replies.

8 replies

Participant
January 17, 2013

Problem still there. Using CS6 12.0 Build 5861

I tried following getvma and shazam14cpu's advice but I can't find a no name (.mno) file in that the /_notes folder. Maybe it was taken out within an update, but it's not that there and I'm still having to deal with the problem.

There are 6 files in the folder that are LABELED with (.php) at the end, but are actually of type (.mno)

Participant
January 17, 2013

Nevermind, it's hidden in Windows! Problem solved!

November 27, 2012

The Getvma user has the correct Answer!!! Go to where your files are stored, C:  drive or usb flash, go to the forms 06 folder, look for the notes folder and delete the .mno. Then it wil work fine, this file is like a lock for the files or conflicts with the files. Anyway, this will work and send you onto your next lesson! cheers!

hyadav
Adobe Employee
Adobe Employee
October 11, 2012

Just make sure that your WAMP server is running.

Go to the WAMP server panel and restart the services (if its already on).

make sure you relaunch the DW and then check the binding panel.

Thanks

Harshit 

Participant
September 1, 2012

Delete the ".mno" document under the ( \_notes ) folder. Just the "no name" document with the .mno extension will suffice.

You will be able to create those form variable afterwards.

Participant
November 14, 2012

Thank you thank you thank you removing the .mno fixed it for me

Inspiring
November 18, 2012

Hi,

Copy and paste the sourc code here! Binding can only be achieved when a form structure is initiated! This form must also be one from PHP document type. Your bindings will not appear when your extension page is also not of PHP. Effectively binding is binding  screen input variables to database - table fields.

My assumption you have already declared and created your database and table structure! You have a PHP extension document type. You have a form structured on your page. If it is not just insert> form from the drop down or toolbar form icon.

I will wait for your reply.

Participant
June 19, 2011

even i HAVE the same problem. I am not able to see the form variables in the binding panel when I follow the tutorial from the lynda.com (6/19/2011)

Any help would be appreciated.

Document type: php

and I add the form vairable but it doesn't appear in the binding panel

Participant
June 15, 2011

Hi everyone,

I know this is my first post here and it may already have been answered elsewhere.

This particular problem occurs when the document type you are working on is not PHP. You can see this at the Bindings tab where it reads: Document type:HTML - To change this, so that Dreamweaver CS5.5 will understand that it is a PHP document and not just a normal HTML you need to do the following;

add

<?php

?>

To the very first line of your code, then save it and you can use the correct bindings again.

Once you have done this, the Document type:HTML should have swapped to PHP and you can then access the Form Variables among other features. If it is still missing, close and reopen that document again and this time it should ask you for the related files - which it will not do in a basic HTML document (save for the CSS and SSI files you may have added, but in that case you will know that's the case)

meluctrue
Participating Frequently
June 16, 2011

Hello,

I have the same problem.

1.  I completely re-installed DW CS5.

That didn't work.

2.  I deleted the configuration files .dat and then the whole folder.

That didn't work.

3.  I tried what SEO Shepard suggest and it didn't work.

Here's a Recap of The problem;

I Have Windows 7 64 bit Professionnal, on a Lenovo Y730, Dreamweaver CS5

  • I am trying to set some 'form variables' using the 'Bindings' panel, pressing on the '+' sign and choosing 'Form Variable' then entering my value 'firstname'.

  • Document has extension .php

  • A Connection is established

  • Nothing gets changed or set in the 'Bindings' panel.
Participant
June 20, 2011

I also added an empty php code block at the very top of the page and still don't see the form vairbales in the binding panel. The simpleform2 is a php page.

Also in the binding panel I have a check mark on and it says the document type:php

1. create a site for this file

2. choose a document type

3. set up the site testing server

but not

4. press the + button and choose the record set

Any help would be appreciated.

thanks

Sam


Just follow the tips explained above, should you still have problems, re-install Dreamweaver and try again. Still not working? Set up a completely new site while you still have this document open, make sure you create it as a PHP and that the file is saved as .php + the presence of PHP code within the code. Still not working? Ask Adobe to fix you up with a patch.

Sorry, but that is all I got, I have tried your example over and over again and everytime they are solved by making sure that the files are created with proper file extensions, site is setup and the presence of PHP code within the document. It works 100% of the times for me and I can even reverse it so that it fails if I remove the PHP code, then the Bindings fail to give me the Form Variable options again.

davidjmcclelland_com
Participating Frequently
March 20, 2011

as of 3/20/2011 still happens

David_Powers
Inspiring
November 6, 2010

It has nothing to do with Preferences. You need to use a PHP page. You should also define a site and local testing server, setting the server model to PHP/MySQL. See http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html,

Participant
November 6, 2010

Thanks for replying David.

Sorry if I did not make myself clear.  I am working through Dreamweaver CS5 with PHP and MySQL - a tutorial available from Lynda.com.  I have downloaded a set of exercise files (a group of folders which you use depending on what lesson you are up to).  So I have defined a site and set up a local testing server (WampServer 2.0) as per my instructions in the previous videos.  So that works and everything has been going fine until I get to Chapter 6: Building Data Entry Forms - Video 2 : Handling form submissions with PHP.

When I watch this video I define the site as 06_forms as the root folder then open a pre-built PHP file called simpleform2.php.  This PHP file has a form with some controls (textfields like firstname, lastname).  My job is to open the Bindings panel, click on the plus button and choose Form Variable as instructed by the author, David Gassner.  This opens a dialog box where I enter firstname (the name of the first text field) and click OK just like in the video.

Now when David does it, the variable appears in the Bindings panel as Form  -->> firstname.

When I do it, nothing appears!

Hope you can help.

David_Powers
Inspiring
November 8, 2010

jay1974php wrote:

Now when David does it, the variable appears in the Bindings panel as Form  -->> firstname.

The same happens when this David does it. ;-)

Sounds as though there's something wrong with your setup. Have you tried posting a question through Lynda.com's feedback system?