Hello,
I am developing a site with Dreamweaver CS3 and have a little knowledge of HTML.
I need a solution for the following:
Visitors can come to my site through a referrer for ex: www.domain.com/?ref=cesar017
The referrer’s information (cesar017) should be prefilled automatically in a form field on another page than the index page. This means the visitor first can look around on the other pages of the site and then go to the page with the form. I don’t use a database at this moment, I only want a certain field automatically prefilled with the referrer’s info from the URL for ex : <input type= hidden -or text- name= partner id= partner value= ""/> In this case the field should have the value=”cesar017”
I understood this can be solved with Javascript or PHP and cookies, but I nearly don’t know anything about this and Dreamweaver has not automated this function.
Can somebody help me with this script (how, where * head - body section *…)
In advance thanks for your help
belper 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.