Solved

Setting Form Field Value Via ASP

Posted on 2004-04-21
2
334 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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