> I have a need to use a single version of a Visitor Response Feedback Form
> on numerous
[quoted text clipped - 17 lines]
> Does anyone have an example of how to pass a variable INTO a Form from
> another HTM document? Or know where there is a tutorial?
Hi,
It is actually not very complex.
We must know where the forms are to give you the excact code.
A few relevant questions:
Are the forms in the same page?
Or is one form in another window?
If so, what are the names of the windows?
Or can the popupwindow (if any) adres the former window via opener?
What are the names of the forms?
What is the name of the variable you want to pass?
Are both pages in the same domain?
A few solutions are possible: passing direct via GET, like opening this:
http://www.example.com/feedbackform.html?origin=bla1
You can read ?origin=bla1 from feedbackform.html
Or you can let the feedbackform query the other page, if they are in the
same domain.
Or use a cookie.
regards,
Erwin Moller
rfr - 29 Jun 2007 05:54 GMT
The form will be a separate page within the same domain.
There will be numerous documents (20+) evoking the same form and passing
several variables to the form so that the form can provide the visitor the
proper title and when submitted can include which document evoked the form.
I am not a javascript coder. Tho I do use some cut 'n paste script and am
able to modify some of this stuff.
>> I have a need to use a single version of a Visitor Response Feedback Form
>> on numerous
[quoted text clipped - 48 lines]
> regards,
> Erwin Moller
Lee - 29 Jun 2007 21:33 GMT
rfr said:
>The form will be a separate page within the same domain.
>
[quoted text clipped - 4 lines]
>I am not a javascript coder. Tho I do use some cut 'n paste script and am
>able to modify some of this stuff.
The important question that you didn't answer is whether the form
opens in the same window as the document, or does it pop up as a
new window.
Please don't top-post in this group. That is, please put your response
AFTER what I've written, instead of at the top of the message.
--