Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 21st, 2009, 08:51 PM
Authorized User
Join Date: May 2007
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts

exactly i donno why its not displaying the values entered once you click on submit button (In case of any input error[validation])
Old January 21st, 2009, 09:32 PM
Friend of Wrox
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts

Oh, wait!!!!

You started using that ARRAY as we suggested to you in another thread!!!

FNameArray(0) = trim(request.Form("iFName1"))
FEmailArray(0) = trim(request.Form("iFEmail1"))
FNameArray(1) = trim(request.Form("iFName2"))
FEmailArray(1) = trim(request.Form("iFEmail2"))
FNameArray(2) = trim(request.Form("iFName3"))
FEmailArray(2) = trim(request.Form("iFEmail3"))
FNameArray(3) = trim(request.Form("iFName4"))
FEmailArray(3) = trim(request.Form("iFEmail4"))
FNameArray(4) = trim(request.Form("iFName5"))
FEmailArray(4) = trim(request.Form("iFEmail5"))

So you can't use iFName1 and so on any more!!!

You must *EITHER* use
<input name="iFName1" value="<%=FNameArray(0)%>" >
<input name="iFName1" value="<%=Request("iFName1")%>" >
I would probably go with the second choice, just because it is more intuitive.
The Following User Says Thank You to Old Pedant For This Useful Post:
Sheraz Khan (January 21st, 2009)
Old January 21st, 2009, 09:46 PM
Authorized User
Join Date: May 2007
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts

Many many thanks for your great help....it works now


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text(Sql Server Text Field) to Image(JPG) srinivas72 ADO.NET 2 February 13th, 2009 06:31 PM
get the values of form field values crmpicco Perl 2 March 16th, 2007 10:57 AM
Selecting on different values of the same field alphahamster SQL Language 4 May 30th, 2006 11:08 AM
loop values and text box values move mateenmohd Classic ASP Basics 2 April 5th, 2005 11:33 PM
Pass select values to hidden text field? abq23 Javascript How-To 2 July 20th, 2004 09:47 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.