Jump to content


dynamic text field

  • Please log in to reply
2 replies to this topic

#1 macacomoco

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 March 2006 - 12:09 PM

Could anyone tell me how to do the following, or if there is aMacromedia extension available to do this:
I have a page with different items listed, each item has a 'make an enquiry' button. When the user clicks the button it will take them to a form with the first text field automatically being filled with the item name.

At the moment this is done by creating a seperate form for each item and linking the enquiry button to that form. I would like it so that there is just one form and the item name is filled in dynamically. A quick example of what I want to do... [a href=\"http://www.einstellung.co.uk/form.html\" target=\"_blank\"]http://www.einstellung.co.uk/form.html[/a]

#2 moberemk

  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 22 March 2006 - 12:22 PM

Just create a data binding in the application panel of Dreamweaver with a URL parameter identical to that of your form field's name. Bind the default text of the form field to that.
As for your form on the first page, set it to GET.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#3 macacomoco

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 March 2006 - 05:16 PM

Thanks very much! I'm totally on the design side, so you wouldn't believe how long it took for me to get that to work. Got there in the end though :-)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users