I have a page created by using response.write. I just found out that if I put a <input type=hidden..> within a <div> section, this <input ..> could not be referenced in the javascript. Becasue when I used the document.form1.tageName.value, the system will respond as an undefined. However, If I put this <input type=hidden..> outside the <div>, thenit is OK. The basic structure of the page is like
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
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
Can someone tell me if it is possible to store the contents of a TEXT AREA field in HIDDEN FIELD in another page after the initial form containing the textarea is submittted....
I need to do this to seamlessly present the submitted data in an attractive format while hiding his submitted data in the hidden field...but I am not sure if there are restrictions of eg 255 characters for a hidden field?
I am trying to build 1 hidden input field only, the input is inside a while not EOF loop, currently the code above is building an input field from each product record, so i get one hidden input from each item, what i think i need it to do is build a string from the records and then put it into the input field i.e. the final input field should look like this: Code:
I want to have a user input a value (1 through 10) in a form. Then click submit. and right under that have text appear depending on what they input. This is what I have, but it doesn't work. I'm not understanding the flow of the script getting called. Code:
I have a little code to add multiple items to a shopping cart based page. This code works perfect, but it adds all of the info to the same input fields every time it loops. I need it to change the input names each time it loops. Here is the code:
I have being working with making an edit field over the past few days. The edit function is now working fine. The edit fields that i have are for id, subject, notes, timedate.
All of the edit screens are one line text screens. What I want to do now is increase the size of the notes box to a larger textarea type box to make it easier to edit notes. The notes field in the db is a textarea field. Code:
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.
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.
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.
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):
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:
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.
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?
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.
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.
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?
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
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
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:
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.
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.
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
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.
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">
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.
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?