Problem With Reading Disabled Checkboxes
I have a page (page A) which displays a number of checkboxes, with the checked/not checked value being read in from a database.
Some of these checkboxes must be checked (based on the user currently accessing the page), and therefore are marked as checked="checked" and disabled="disabled" in order to prevent a user from deselecting it.
Page A works perfectly, but I have a problem with the next bit...
When the page is submitted to page B, page B doesn't get sent the values of the checkboxes that are disabled.
Split(Request.Form("KPA" ), "," )
function to put all my selected checkboxes in an array, but the disabled ones that are checked are not appearing in this array.
View Replies
ADVERTISEMENT
I have a quick question. I have a form loading up, within this update form I have a few fields disabled: ex: <input type="text" name=record value = "<%=record %> " disabled>.
when I submit this file to asp for updating, it goes to the next page but it does not allow the updates of the disabled fields to come through. How can I get pass that other than using a session variable.
View Replies
View Related
How can i detect cookies are disabled or not.
View Replies
View Related
I found out that I can't get the value of a disabled field with Request("myField"). An alternative could be 'readonly', but my field, that is a listbox <select>, doesn't have this attribute.
View Replies
View Related
The input forms are created using FORMMANGER of MS Visual Interdev 6.0(ASP Code). The forms containing textboxes and bottons (with disable property) are shown correctly in IE5. But when same forms are viewed in IE6 the disabled textboxes and buttons are shown distorted.
View Replies
View Related
i was wondering if i could enable/disable input according to the user, e.g.
enable input2 if input1 is enable, else it's disabled. Also, if input1 is
deleted then input2 is disabled.
View Replies
View Related
I am collecting information from a form. In that one control is calculated by a formula, but i don't want the user to modify it. So i've disabled that button. But my problem is i was not able to get the data using "Request.form("txtcontrol")".
View Replies
View Related
I am using a couple of session variables in my site. From what I can figure
out, session information is stored on the users computer in a cookie -
If the user has cookies disabled, do session variables still work - just
without the option of setting the Timeout property, as I'm assuming?
View Replies
View Related
I'm trying (without any success) to get the value of a disabled select
control. From reviewing:
http://www.w3.org/TR/html401/intera...l#adef-disabled
It doesn't sound like it's going to be possible directly. I'm
thinking that I can get around it by enabling the select control
during some javascript that gets executed during the submit.
View Replies
View Related
I currently have a login.asp page which handles Username and Password Authentication. No Javascript functions are on this page. I do have a script that detects if their browser has javascript disabled. Code:
View Replies
View Related
Is there any way I can pass the value in a disabled text field without creating a hidden field?
View Replies
View Related
I am encountering errors with some legacy asp scripts. The erorr returned when accessing these pages is:
Error Type:
(0x80004005)
Unspecified error
and occurrs when cookies are disabled on the client's browser. Note, if cookies are enabled but no cookie exists, the script does not die, it is only when cookies are completely disabled. Code:
View Replies
View Related
I am trying to fatch disabled text box vlue on other form but i cant...
View Replies
View Related
I found some example on web, but most of them are need 2 pages by using redirect method. Is there code for do this only in one page?
View Replies
View Related
what's the differences between readonly and disabled attribute? When I do the post, it couldn't get both values <%= fname %>. any ideas?
<input type="text" name="fname" value="Joe" readOnly>
<input type="text" name="fname" value="Joe" disabled>
View Replies
View Related
And recently i have just encountered a problem. The problem's that how we can find out if users have disabled their browser's javascript support ability.
Most of my visitors are using Internet Explorer. so it means thier browser can already support Javascript. but when they disable javascript, is there anyway we can detect that in ASP?
View Replies
View Related
As I understand it IE stores the session id in a cookie on the user machine.
This identifies the session between pages.
If cookies are disabled then session variables don't work...
Is it possible to pass the session id between pages by posting them etc, and
manually force the session id on each page.
View Replies
View Related
how can i get the data submitted by the previous form using " for each x in Request.Form " and display them same as the the previous form before and the only different is tat this time the all the data in this form is being disabled. (the data may consists from text box, combo box, radio button, etc.) . just wondering is there any way to perfrom like this..
View Replies
View Related
I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated.
I also have included the original error and line of code I changed it from in case it was necessary?
ERROR 1
CDONTS.NewMail.1 (0x80020009)
Component is disabled
/thankyou.asp, line 61
Code:.....
View Replies
View Related
I am writing an application in ASP which needs to decide at server side while the ASP code is executing whether the cookie is enabled/disabled at the client browser or not.
I do got the code which runs accurately when the IP Address is given of the server. It does not work when I access the web server(local development server) by it's name.
Please note that the code below sometimes does not work even when the IP Address was given to access the web site.
The code snippet is as under:-
View Replies
View Related
I have a form that has checkboxes. I would like when the user clicks the
process button the next page will display the value of the boxes that were
checked.
View Replies
View Related
Do any of you guys know what the value of a check box is.
I am offering two ways to download, posting to a diff form and using info from there but do not know which check box has been ticked??
View Replies
View Related
To get the checked value of checkboxes I use this code:
Code:
For Each subitem In oFileUp.FormEx("imgCheckBox")
...
Next
How can I get the value of those unchecked checkboxes?
View Replies
View Related
I am trying to set up a page, with some input fields, which
are mandatory. Then there is a checkbox, when it is
checked, the input fields do not need to be filled
(not mandatory anymore). At the moment, even though
the checkbox is checked it asks to fill the mandatory
fields.
View Replies
View Related
I need to add a master checkbox, clicking on which, will select all the child checkboxes. Unclicking it, will unselect all the child boxes.
Exactly the same way as hotmail does. I know, I need to write a javascript for that. But the problem is, the child checkboxes are being
populated from the stylesheet code (embedded in the .asp page). It is also not under the <form> </form> tag. Following is the code:
View Replies
View Related
I've never used checkboxes in ASP, well nows the time i do it.Im creating a login script, and want the user to be able to click on "remember me"it keep them logged in.
how would i get that in ASP. how would i make it detect wether or not the checkbox has been selected or not?
View Replies
View Related
I'm trying to create a form that has checkboxes on it that when a user checks the particular boxes, and submits the form, it performs the query based on the selections.
I'm using MS Access and FrontPage. I'm having problems passing the information from the form to the query and then to the database.
View Replies
View Related
How can I use checkboxes to send out an email based on which checkbox was clicked?
For example, I have an html table that is constructed dynamically which contains information about events stored in a database.
The table has checkboxes out to the left side (similar to hotmail) and when I check however many boxes, and click submit, I want to send an email to each address that is associated with each record that I checked its box.Something like "for each checkbox clicked, select the ID and email address associated with it, and dispatch an email"
I have everything set up except the asp loop and select statement that will help me achieve this.
View Replies
View Related
i have some 15 checkboxex on a form... i want to 1st check the no. of checkboxes that are checked?? and then loop it that many times adn insert the quantities the user enters in the text boxes.
do i need to group the checkboxes....hwo can i do that??? how to know which checkbox is checked because out of the 15 checkbox say 1,5,7, 9th are checked then i 1st need to get the id from the database adn then based on htat id retrieved i need to insert values on another table.
View Replies
View Related
give me a working example on how to use checkboxes ?
View Replies
View Related
A list of names is printed out from a Table as a list of checkboxes:
<tr>
<%while not rstLogin.EOF%>
<%
dim name
name =rstLogin.Fields(0)%>
<td><input type="checkbox" name="<%=name%>" > <%Response.write (name)%> </td>
</center>
</tr>
<%
rstLogin.MoveNext
wend
What I then want to do is add "Checked" names to another table. How do I do this?
View Replies
View Related
I've been using Dreamweaver to develop some simple database connectivity. So far everything works, but could be more user-friendly and flexible.
I have an Access database with 4 document types. I have search forms which allow users to enter a keyword and search for one specific document type. The problem is I need four different search forms this way. What I would like is to include 4 checkboxes and one keyword textfield. Code:
View Replies
View Related
I have a page with checkboxes which are created from a database as below:
<% while not rs.eof %>
<%=rs("contract_name")%><input type="checkbox" name="<%=rs("contract_name")%>"><br>
<%
rs.MoveNext
wend%>
I need to be able to tell which ones are checked on the next page. How do i do this when they all have automatically generated names?
View Replies
View Related