Textbox Hiding/unhiding With Dynamic Values
i want a tutorial for hiding/unhiding textbox with dynamic values when checkbox is clicked and vice-versa.
View Repliesi want a tutorial for hiding/unhiding textbox with dynamic values when checkbox is clicked and vice-versa.
View RepliesI 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.
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?
(http://www.yahoo.com/_ylh=x3oDMTB1M2EzYWFoBF9TAzI3MTYxNDkEdGVzdAMwBHRtcGwDaWUtYmV0YQ--/r/m1)
It does not change the domain name but change the folder name and query string's values.
and url encryption should be automatic.
How can I save all the data from the textboxes to the database (Access).
I've tried:
rsObj("RC") = Request.Form("txxTest"+ getTotalRow)
but it does not save.
I have a combo box where the user selects a reference number, but what I dont know how to do is that when the user selects a different reference number, how do I change the value displayed in a textbox automatically?
View Replies View Relatedi have one text box and one button in my form. while running my form i will enter data value in my textbox and if i click submit button that value has to written in my form(response.write(value). how to do this actually i retreived my text box value using the following
dim Name
Name=request.form("name")
Response.write(Name)
how to write this reireived value means it has be displayed any where in my form while clicking submit button.
if you can add dynamic values into a css. I have an image which i want to set as a backgroung image but depending on who is logged in will depend on what image is being pulled out. I dont want the image to be repeated though out the region it is in so i have used the following syle sheet code. But i have had to adda an actual image name in. Is there any way to make this dynamic image value or not. And if not is there another way i could create a similar effect? Code:
.image
{
background-image:url(images/maps/bangor.gif);
background-position:center;
background-repeat:no-repeat;
}
I am generating between 5 - 15 dynamic checkboxes in a specific database search. The user will at most only select 1-2, maybe 3 checkboxes at a time. Through a form, i want to find out what checkboxes were clicked and get the value contained in the checkbox.
Can any of you suggest a suitable method of doing it? i assume i'd be using a 'for' loop, if i can get a foot up on how i'd go about doing this
If I have say 10 fixed variables, how can I set their values = to that of a form that is built dynamically?
column1column2
email=formvalue(0)
fname=formvalue(1)
lname=formvalue(2)
etc..
lastvar=formvalue(9)
if I create a dynamic selectbox from the table tblRewardsDetail - I can submit what is selected to tblLineItems BUT not the corresponding values.
For example if I select Item2 the corresponding value associated with that Item 50points does not write to the tblLine Items but ItemIden2 does. Code:
I have an asp page where im creating dynamic rows on an onclick function and textboxes are created in the dynamic rows and when i submit the asp page it goes to another asp page, where i whant the values entered in the textboxes of dynamically created row of the previous asp page. Code:
View Replies View RelatedWe use an ASP application in which we send out emails using cdo for various
events.
At present the email text is hard coded into the code. for example
strMessage = "Dear " & rs("firstname")
strMessage = strMessage & "Your request has been approved with reference id
" & rs("id")
This causes an administration overhead as everytime the text of the message
needs to be changed we need to alter the code to incorporate text or
database values.
What we want is to store the message text into a table so it can be altered
by the application administrators through GUI by adding the text through
freetext entry and field names though a dropdown. Code:
I've writen the code below which displays a drop down select menu and can be displayed by writing the variable 'sjobs'. The code works fine as it is and the menu is populated with the requested info from the database ok. The problem I'm having is adding url links to the menu values. Code:
View Replies View RelatedA page displays the Product literature that a customer can request to receive by postal mail by clicking a check box. The literature selections are created by a dynamic record set based upon what the company enters into the Literature table (currently 10 selections). The checkbox form tags are:
<input type="checkbox" name="LiteratureID" value="<%= rs("LiteratureID")%>">
LiteratureID is the Access autonumber primary key field. I can use the LiteratureName in the "name" attribute if it is easier.
The form processing page needs to Insert each selection into its own record in another table. This "requested" table also inserts the database ID for the customer that is created after first inserting the customer contact info. In other words the "requested" table needs to record the customer autonumbered db ID and each selected checkbox value.
Here is my current code:
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 have a page and dependant on what is passed via the url ie page.asp?area=xyz
If the QueryString("area")=xzy then part of the page is hidden. How would I go about this?
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.
View Replies View RelatedI 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?
<%= output %>
or
<% response.write(output)%>
I want to hide all my querystrings variables and filename when they executed how can i do this.
View Replies View RelatedI want to hide all my querystrings variables and filename when they executed how can i do this?
View Replies View Relatedcan 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.
View Replies View RelatedI 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.
View Replies View RelatedIs 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
View Replies View RelatedI want to display the contents of a field with a label if there is data in that field. If there isn't then I don't want the label to appear.
I tried this:
<%If Venueinfo("email") = "" Then
Else%>Email: <a href="mailto:<%=Venueinfo("email")%>">Click to
email</a><br><%End If%>
But it doesn't seem to work. It seems to always display the label and link even though there is no data in that field.
I have a website in ASP. Is it possible to somehow hide the .asp extenstion, so that other don't know what backend language is being used?
View Replies View RelatedIs 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.
View Replies View RelatedI have a customer with an extensive intranet which contains a lot of
sensitive company data. The client is concerned that any employee
could download source code back to removable storage and thereby steal
the data.
Printing is considered publicly risky and other capture methods of
visble screens would be too clumsy and outside the capability of most.
So we have been asked to make the source "invisible" or at least
extremely difficult to reveal.
Does someone have a reasonable method for concealing the paths to data when using ASP to MS Access?
I maintain a website where some data is intended to be released according to date:time. Some visitors like to "jump the release date" and just copy-n-paste the visible short cuts so they can get an early view of the material stored in a MS Access database.
Because I do want to continue using a straightforward naming convention for the various files, I was hoping someone might have information on how they had kept from pre-releasing information in this situation.