Solved

Setting Form Field Value Via ASP

Posted on 2004-04-21
2
330 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 50 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now