Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 598
  • Last Modified:

Adding form variables in bindings panel does not work DW cs5

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
Premiernc
Asked:
Premiernc
  • 2
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
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
 
PremierncAuthor Commented:
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
 
PremierncAuthor Commented:
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
 
Jason C. LevineNo oneCommented:
>> 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now