Premiernc
asked on
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
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
ASKER
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
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
ASKER
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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:
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:
Now that I have the variable assigned via the Bindings panel, it will become sticky and be available to other pages in the site.