Hidden Text Box

I building online forms for our new client acceptance forms. The first page has 35 fields, the second page has 20, and the third has 8. My question is how is the best way to move the data from page 1 to page 2 then pages 1 and 2's data to page 3? Should I use hidden text boxes or write them to a temporary table then move them once the form is submited? Network traffic is not an issue.

View Replies


ADVERTISEMENT

ASP / Hidden Text Box Issue

I am having a really strange issue. I have a few users calling in
saying they are getting an error. On further review I found this line is
what is causing it...

Set strLookup = cnAddStep.Execute ("SELECT * FROM ActionSteps WHERE
planId = '" & intPlanId & "' ORDER BY stepId DESC")

The exact peice causing it is intPlanId. For some reason the form
request isn't getting the ID.

intPlanId = Request.Form("hdnPlanId")

intPlanId is populated from a hidden text box in the previous page. But
only on a very few users machines will the post not occure. Any ideas?

View Replies View Related

Hidden Value

I want to pass a hidden value from Page1.asp to Page2.asp. My Codes for Page1.asp

<TR><TD><LI>
<form action="Page2.asp" method="POST" name="form1">
<input type="hidden" name="num1" value="<%= value %>">
<A HREF="Page2.asp" title="Click here." <%=blank%>> Example</A>
</form>
<script>
document.form1.submit();
</script>
</TD></TR>

Page2.asp
Num = trim(Request.form("num1"))

But when i click on the hyperlink and is at Page2.asp. When i click the back btn on the IE, it cant bring me back to Page1.asp. It is always in a loop.

View Replies View Related

Hidden Input

I have a simple problem :

When I try to pass a variable via an hidden input and it contain a word with a space (ex :The Wall), only the first part is sent(ex: The).

<INPUT TYPE=HIDDEN NAME="Charge" VALUE=<%=Charge%>

View Replies View Related

Hidden Code

I am totally new to ASP.Till now the i have been using php, so i will try & relate my question with php.If a page is written in php & is seen by the client browser only the html code is visible to the client if he wants to see the code.But for the person who has access to the server,he can easily see the code by viewing the file in any text editor.What i want to ask is that if i write pages in ASP is it possible in any way that the people who have access to the server are unable to view the ASP code? Something like an exe file where the person cant see the code but just use the application.I want to know this cos if i want to hide my code of a web based application located in the server is it possible to do this in ASP?As far as i know this is not possible in PHP.

View Replies View Related

Passing A Hidden Value

passing a hidden value to a querystring via a form. It is not working correctly because when I submit, it will go to calendar.asp?date= instead of calendar.asp?date=12/13/2004.

Here's the code for the hidden value:

<input type="hidden" name="CURDATE" value="<%=dtCurViewMonth%>">

This code works because I have already tested. The value was correct.Here's the code for submitting the hidden value (this is the line of code that I need help with):

<form name="frmCalendar" action="Calendar.asp?date=<%=CurDate%>" method="POST">

View Replies View Related

Hidden Visible

how to make an onmouseover:visible area in the page? i mean ie. i have an output page, and list of datas from database. i want buttons releated its appear when i get my cursor over area of any data. but my buttons are called from includes file.like this:Code:

<td><%if session("isUserLogin") then%>
<%select case cint(session("userLevel"))%>
<%case 10%>
<!--#include virtual="/includes/data.buttons.10.inc.asp"--><%case 15%>
<!--#include virtual="/includes/data.buttons.15.inc.asp"-->
<%end select%><%end if%></td>

View Replies View Related

Send Hidden Value

how to send hidden value to more than one page.

View Replies View Related

Hidden Process

when i call for a asp page i c some process still running in the status bar. but when i click on the same link again, i could not find the process. it happens alternatevely.why is this happening? how to prevent?

View Replies View Related

Get Hidden Value From A Iframe

I need your help for this:

<script language="javascript" >
var getvalue

getvalue = top.markcountframe.document.hiddenform.element[0].value;

</script>

<iframe src="" width=480 height=0 center name="markcountframe" scrolling="no">
<form name = "hiddenform" >
<input type= "hidden" name="count" id="count"
value=<%=defaultStr%>>
</form>
</iframe>

How to make this work?

View Replies View Related

Hidden Fields

When I create a form with hiddenfields and then view it in an ASP web page the following shows where the hiddenfields are on the form- "> -this appears for every hiddenfield is there anyway these can be hidden from view on the web page.

View Replies View Related

Using Hidden Fields

how can i set the value of a hidden field at run time in my page? how can it be done in scriplets (<%%>). the second issue is that if we define a function using javascript, how can it be called at any place.

we don't want to call that function at any event but instead want to call that function every time or on validating an if condition.

View Replies View Related

Function Hidden Fields

Can I add a function to a hidden field to get the value of that field?

View Replies View Related

Parse Hidden Variable

i hav drop down menu wif 6 titles. this is populated using the Table Grade.
Now for example, im selecting Senior, which has the ID 4. how do i parse the ID thru when pple select the title? it must be hidden

View Replies View Related

Using Sessions Within Hidden Fields

I have a product ordering process that passes information between 3 asp pages using web forms.

I am attempting to set a session on form2.asp with data entered into form1.asp . This session is then displayed.
I then wish to use this session value within a hidden field on form3.asp as follows

<input type="hidden" name="productname" value="<% Session ("productname") %>" >

This hidden field value is not being parsed in formmail.pl - any suggestions why this will not work?

View Replies View Related

Input Type Hidden

i need to track the source of a page which user browses ex: aboutus.html, contactus.html in which there is a link to enquiry.php where a user fills out a form. so i need to track which page the user originally came from(aboutus.html or contactus.html)

presently i am using enquiry.php to track the previous page with the following code

<input type='hidden' name='fromPage' value='<?php print $_REQUEST['fromPage']; ?>' />

i need to know what is the syntax in ASP for the above statement so that i can read the hidden value into a variable called source using Request.Form and later i can read this source variable in php

View Replies View Related

Hidden Form Action

Is there a way with ASP or Java to hide the form action part of a form? I have someone that has found the location of a script by looking at the source of one of my forms.

They run some type of script that trys to post bogus info from 6:00 in the morning till 12:00 in the afternoon. Although it gets denied due to wrong input by the user, it sends administrative emails that are annoying (hundreds). If the user only saw the client side (below), they could not do it. Is there a way? Code:

View Replies View Related

Pass Hidden Values In ASP

We are integrating 3rd party s/w which would process online
transactions.

this product would require that we pass some sensitive information over
the web, using FORM-POST-Hidden fields method. On viewing source this
page we are able to see this info. To overcome this - steps followed.

PageA.asp - collect information, exists on our server
PageB.asp - request info from PageA.asp, append sensitive information,
automatically POST to client server - this code exists on our server.

The issue arises that while connecting from PageB.asp to client server,
there is a little delay which shows the hidden page.

View Replies View Related

Hidden Fields Are Visible

I have a form in which if i check one checkbox it makes 2 textboxes invisible. Thats working fine.( I am using java script to perform this)Now when user fill the form and hit submit and if some required field is missing than it forces the user to go back to form and complete it.
While going back it retains all the values for all the fields.It also retails the checkboxs but even though the checkbox is checked now but textboxes which should be hidden are visible.

View Replies View Related

Hidden Data In Hyperlink

I have a set of asp hyperlinklinks on my asp pages which direct the user to specific products.i.e. the link jumps to ....../product.asp?product=productA&ID=1
is there anyway to still carry over the ID, but hide it from the link,so that visitors will only see

/product.asp?product=productA

View Replies View Related

Open Hidden .doc And Print

Is it possible to open an word doc when a form is opened, and then if the users wishes to print the form also print the word document without actually showing the word document to the user.

The user should only be able to see the contents of form which will include the name of the word document, but not the contents of the word document. The print out will have the contents of the form and of the word document.

View Replies View Related

Update Hidden Fields

document.forms[0].Update.value='yes';
document.myForm.submit;

in a routine.

I have declared a Hidden field called Update in my form. I have checked before the submit that the value does actually get set, but after Submission the value of Update is empty. I have checked everywhere and this is the only place in the page that this value is set.

Does anybody have any idea why my value is being lost on submit. My form is declared :
<FORM NAME="myForm" action="AgentDetail.asp" method="post">

View Replies View Related

Count Of Particular Hidden Fields

is there any Request object's method that could calculate the count of particular hidden fields, the ones that have a 'item' in their name:

<input type="hidden" name="item1" value="10">
<input type="hidden" name="item3" value="20">
<input type="hidden" name="item5" value="30">
<input type="hidden" name="somethingelse" value="40">

The result should be 3, not 4 (only the fields which names - or IDs - start with an 'item'). Note: I'm not satisfied with the solution of naming the fields with same name "item" and then split the array to get their values and read the ubound of array. I would like to keep the names of the fields as I stated in the example.

View Replies View Related

Hidden Form Fields

i wrote a script in asp/vb script that validates form fields. all works fine, apart from the fact that alerts are being shown against the empty form fields when the page loads the first time.

so, validation should not be carried out when the page loads the first time. my friend challenged me and said i can achieve this "using a hidden form field or even the submit button" and submitting the page to itself

i was more thinking of using session variables or a session cookie, but does anyone know how you could accomplish this using a hidden form field?

View Replies View Related

Use Hidden Field For Checkboxes

Is it possible to take a checkbox array and dump it into a hidden field each time it is checked?

View Replies View Related

Date And Time In Hidden Value

How can I insert the current date and time into a hideen form field in a UK
format (dd/mm/yyy hh:mm:ss) that can be passed to a SQL DB?

I have been using <%=Date()%> as my hiddenn fields value, but this only
gives me the date, how can I modify this to give what I need?

View Replies View Related

Finding Hidden ASP Variables

I'm working on an ASP page that calls variables from another ASP page that I am unable to access. Is there any way to call all active variables from the other page and list them out, so I can find the variable names that I need to work with?

View Replies View Related

Hidden Values And IFrames

My form, "Form1.asp" includes an "email" input box. Upon submit the user is redirected to "Form2.asp" which includes an iFrame called "formFrame.asp".

How do I entrap the "email form" value

<%
'extrap fields from URL on prev. page
ea = request.form("email")
%>

and apply it INTO a iFrame form input box using <%=email%>

I am not able to establish connection to the hidden value from the iFrame.

View Replies View Related

Who Knows How To Pass A Hidden Variable?

i want to upload my file from the first form and then keep passing the destination path (obtained from File.Path) as a hidden variable to all other forms. and in the end to upload it... how can i do this?

View Replies View Related

Detect Ip Hidden By Router

Can anyone tell me how to detect a ip address behind a router?I know that using ASP, we can detect the actual ip and the proxy ip, but what if the visitor is using a router that dynamically assigns a ip.

Im trying to detect the ip addressed of visitors coming to my site. They are from all over the world. I am able to do that if they use either a proxy server or if no proxy server is used. However once a router is used, the ip address returned to me will not be the actual ip address of that visitor as the ip address returned to me is randomly assigned by the router of that visitor.

View Replies View Related

Copying A Value From A Textfield To A Hidden Field

Does anyone have any idea if you can set the value of a hiddenfield to be that of a textfield on the same page, when submitted?

View Replies View Related

Passing ASP Via Hidden Form Fields....

I want to pass ASP returned values via hidden form fields...

Here is a simpler demo of my what I am trying to do....

Page containg asp values in hidden fields of a form:

(input.asp)
<html>
<body>
<form method = "post" action="ad.asp">
<input type = "hidden" value = "adski" name = "ad1">
<input type = "hidden" value = ""<%= WeekDayName(Weekday(Date)) %>"" name="ad2">
<input type = "submit" value="submit" name = "submit">
</body>
</html>


Output page, showing passed ASP values:

View Replies View Related

Get Hidden Form Values From Another Web Page

I received the following bit of code from a friend in need of help. I've done all I can do so far and need assistance with the rest. This code is supposed to get a web page and grab the necessary info from it so it can be used. After the page is grabbed I need to grab the values of 3 "hidden" input fields in a form.

The fields look like this:
<INPUT TYPE="HIDDEN" NAME="VARIABLE1" VALUE="CD5E56C4E89CFBE470D8B098C6897BABB6C037FD784765B0">
<INPUT TYPE="HIDDEN" NAME="VARIABLE2" VALUE="CD5E56C4E89CFBE4B1B8B011899A4B44CCC7B734481F19ED67745C61F9EF16D0">
<INPUT TYPE="HIDDEN" NAME="VARIABLE3" VALUE="D8F1A38F99B9320B">

The code I have looks like this. I need help getting started on how to search thru the retrieved web page to get the above values.

If someone knows of better code than what I have so far please feel free to enlighten me with it. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved