Is this a PERL question or a HTML question?  So.are you looking for the 
syntax for a hidden HTML form element?  Or a way of grabbing the URL in 
PERL?

If its HTML, its just this:  <input type="hidden" name="url" 
value="enter website address here" />  (assuming you're outputting in xhtml)
If its PERL, then I have no clue  ;-)




[EMAIL PROTECTED] wrote:
> That would replace the PERL script that process the form data.  That's
> not what I'm looking for.  I want the email I receive with the
> person's name, phone number, etc, to also show me what website the
> response came from.  Is that more clear?
>
> On Aug 28, 2:00 pm, "Gewton Jhames" <[EMAIL PROTECTED]> wrote:
>   
>> Then is just as I said. Use the action of the form with the function
>> window.location
>>
>> On Thu, Aug 28, 2008 at 2:19 PM, [EMAIL PROTECTED]
>> <[EMAIL PROTECTED]>wrote:
>>
>>
>>
>>     
>>> Yes, I want to return the current website along with the other form
>>> data.  Can I do that within a hidden input tag?  Not sure how to use
>>> the output of a function instead of a declared or user-input value...
>>>       
>>> On Aug 27, 12:20 pm, "Gewton Jhames" <[EMAIL PROTECTED]> wrote:
>>>       
>>>> what web site? The current web site? just use the javascript function
>>>> window.location
>>>> For example, in the action attribute of the form, kind of:
>>>> <form action="javascript: window.location">
>>>> I don't know if this works, but if not work, you can also try to call a
>>>> function that just prints the window.location in the action of the form.
>>>>         
>>>> On Tue, Aug 26, 2008 at 4:49 PM, [EMAIL PROTECTED]
>>>> <[EMAIL PROTECTED]>wrote:
>>>>         
>>>>> I'm looking to use a form field to return the URL of the website.  Is
>>>>> this possible?  If so, what would the code look like?  I'm familiar
>>>>> with the basics of forms & Javascript, but I can't figure out how to
>>>>> put it all together to get what I want.
>>>>>           
> >
>   

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to