Is there anyway of making the hidden fields not show in the editor?
I use alot of hidden fields and it confuses the design if there are lots shown on the page. I have written validation for this site and need to hide the hidden fields i have created. I have searched google and there is some information on this, but it is very confusing.
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 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
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 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?
I am passing variables in hidden form fields and have got it working fine. However, if the variable value has a space in it then Request.Form("fieldname") only returns the first part of the variable upto the space and the remainder is lost.
I can pass such variables in the URL using URLEncode (and a URLDecode function) but this particular form is posting to the same page. Do I have to do some kind of encoding again to format the space properly and then decode it again?
I'm having trouble passing hidden fields between forms. I have a total of four forms. I have the 1st form passing its field to the 2nd form, and the 2nd form passing its field to the 3rd form, but the 1st form's field then is not passed into the 3rd form. So obviously, my summary form (the 4th form) is not getting the 1st form's field or the 2nd form's field, only the 3rd form's field. Code:
I am creating a form that has 5 steps/pages. Each page contains about 20 fields. But I don't want to write them until they submit on the last page. I figured out that I can use hidden fields to carry the data from the previous forms forward. If should bascially work like this:
But the problem I am having is when I submit page 4 page 5 won't load. No error, it just won'tload. It seems to be overburdened. Is there a max on the number of fields it can pass? Is there a better way to go about doing this that someone can suggest? Or a suggestion that someone can make to fix this problem?
I'm searching of a way to send an email, and i don't want the user to know where he send the email.
Let say i want to send a message to Bob001. I will type Bob001 in the SendTo field. When i type the Send Email button, i would like the web page to do this: Get the username, Bob001. Find his email in my database Get the message in Message. Create the email. Send the email.
I don't want the user to be able to read the user email.
Every example show something like a "<a href" method. Which is not what i need.
Is there a way to do so? 1- I don't own the web server 2- Windows 2000 3- Asp install (Asp.net too) 4- Php is not available (so no mail object)
I would like to know if this is possible. I'm using ASP with JSCRIPT. I have a dropdown box that when the use selects a particular value, I would like the textbox to become visible. also if they dont choose it, I would like the textbox to be hidden. I have this web input form with many other fields. This dropdown box is in the middle of these fields.I dont see any property to set. I see the disable property but I want it hidden.
We have a customer that wants us to put our ASP application on their server, so they can have direct access to the database. However, we don't want to leave our code wide open for them to copy and/or modify.
I have heard that there are ways to protect our ASP code, but I don't know what they are. Could someone please list several options for me, and preferably places where I can do a little more research?
I have http://localhost/myweb/login.asp and i clicked some link in this page navigates to http://localhost/myweb/welcome.asp?userid=2 but in the browser address bar, I wanted to display only http://localhost/myweb/ and I wanted to hide the asp page names & query strings in the address bar.
I have a table which displays data and now I would like to add some of that data together and just display it when the user clicks a button. I was just wondering if there is a way to do this on the same page such as hiding it without having to create another asp page? I was also wondering for output which is it best to use?
can u use the If Not IsNull statement to do this? and if so how please? I have various text boxes, caught in a repeat statement, when the other feilds run out of info i dont want the text box to be displayed. can anyone see what i mean? Basically when the fields before the text box run out i want the text box not to display.
I want to hide the form control on clicking the submit button on the same form.Tell me the solution.And also facing the problem while using the date time pickers in frontpage.
Actually by using asp value of date selected is being fethched in variable but on clicking the submit button again the datepicker shows the date before selecting the date.
i have a problem with one of the ASP pages in the website i am doing. I can see the code literally on the page itself on IE browser( highlighted below in red). this happens when i highlighted the page I and can see the code (SQL statement appears).
As this is a potential problem, I want to hide it so that it wont be hacked by irresponsible hackers who may change it. Code:
Anyone know a useful way of hiding image paths so images on my site cant be directly linked to?
I've seen sites that use <img src="image.asp?/moo/fred/image01.jpg"> (where the path starts from www.domain.com/secretfolder/moo/fred/image01.jpg) but dont know how to set this up.
BTW am on a shared host so dont have the use of base level administration if it makes any difference?
if i want to pass parameters between pages... e.g. a href="page2.asp?name=Brian"...
is there a way of hiding this so that the name=Brian part does not appear in the address bar... I would prefer not to have to use forms and buttons to do this...
I have a form that submits to as asp processing page and that processing page inserts the info into a database and sends me an email. <form action="process.asp" method="post">there are a few pranksters out there that like to open the process.asp page directly and send blank info to my database and email. Is there a way to have this page only work when the form submits to it but not work if you just go directly to the page. I tried changing the permission to write only, but then you are asked for a password.
Is there anyway to hide specific words in my page??? for example when say "visit" in my page the asp code to prevent it from showing it in my page...any example code would much apprecited due to my limited experience to ASP
How we can hide values of variables in our querystring those are readable in the address bar? is there any way we can encrypt the url and when it is required we can de-crypt it also like yahoo do?
Is it possible to hide the address bar after logging in to the site? I have my site in which after the user has successfully logged in, i want to hide the address bar further i.e i dont want the user to see the path of asp pages.