Solved

Adding form variables in bindings panel does not work DW cs5

Posted on 2010-11-28
4
588 Views
Last Modified: 2012-05-10
Hey Guys,
I am following along with a Lynda tut and we have a simple PHP form. When he goes to the Bindings panel and chooses forma variable and name it firstname and hit enter, it appears in the bindings panel for later use. Nothing happens when I hit enter to save the variable. I have seen this question from others using CS5. Nothing happens with any of the variable selections. I have deleted my personal cache file as suggested but no luck. I am using Wamp with all the features of the Mysql and wamp setup working just fine. I really don't want to just have to completely reinstall.
Thanks a million
0
Comment
Question by:Premiernc
  • 2
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34227835
Hi Premiernc,

Does the form already exist on the page?  If so, the DW will automatically add the variable to the Bindings panel, as shown in this screenshot:

 Look under the form name on the right
So when you create another variable, it will not "register" because DW sees it as a duplicate.

So the method to add the form variable to a page must occur when said form is not present.  When I create a new, blank PHP page and assign the form variable to it, I get this screenshot:

 Again, look on the right
Now that I have the variable assigned via the Bindings panel, it will become sticky and be available to other pages in the site.
0
 
LVL 1

Author Comment

by:Premiernc
ID: 34230090
Jasson1448,
This is what I see when I open a simple form .php page. Whether the form is there or not, the bindings page does not show anything in CS5. Is there a switch setting or something I am missing?
dw1-form.jpg
0
 
LVL 1

Author Comment

by:Premiernc
ID: 34231918
After working with it for awhile, it seems to be site specific. In one site it works with opening a new .php doc and going to bindings-form + form variable and there it is. In this other site it just never works. I have nearly duplicated the site settings with the exceptions of the database names and the site locations. Could it be database related or site setup related?
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 34232448
>> Could it be database related or site setup related?

It's probably the site configuration that is corrupted.  The database isn't the issue (at least for this feature).

Can you delete the site definition and create a new one using a different name?
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now