Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting Form Field Value Via ASP

Posted on 2004-04-21
2
Medium Priority
?
337 Views
Last Modified: 2012-06-27
Seems pretty simply, but can't figure it out...

How do I do this at the very end of my ASP page?

if FX_ReqValue <> "" form1.company.value = session("Company")

The above code won't set the form field value.

Thanks,
MT
0
Comment
Question by:movoni
2 Comments
 
LVL 30

Accepted Solution

by:
third earned 200 total points
ID: 10885387
if FX_ReqValue <> "" then

response.write "<script>form1.company.value = '" & session("Company") & "'</script>"

end if
0
 

Author Comment

by:movoni
ID: 10885399
Cool... thanks!!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question