I have 4 radio buttons and beside each radio button I have a textfield. When a certain radio button is selected, only the text field beside it becomes enabled and the rest of the text fields are disabled. What I would like to do is to be able to change the background color of the text fields so they are grey if they are diabled and white if enabled.
I have a Web form with a gridview supplied with a object dated source, when I select a line, h've got a formview with the detail of the line... I would like to know, in edit mode, how to grey some fields according to the rights of the user, admin or not??? Here what I do...
==> ddlstSeverity is always null, i've got this error message
"Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Code:
for example... the data in my datafield is "BROWN DOGS" but when I viewed it on my asp page it will only display "BROWN" do you have any idea on how I could display the whole content? my source code is this -->
i have a form with 2 textbox and 2 buttons if i push the 2nd button it summits the form to a process page and add both textbox info into a database( with the check if they are empty), this because the form action is set to go to that page.
but i want the 1st button to do a test if the 1st textfield is empty and if is not i want it to post just the value of the first textbox to another page(process2). i've got the 2nd button working allright but i dont know how to so set up the code to the first button.
I have a bunch of text fields that the user tabs through. How would I go about calling a function when a specific textbox loses focus so that when they tab out I can make a pop up and allow them to select some info
I have javascript calander in the form of three list boxes (day, month, year). when selected I would like the values to put into a text field in Dreamweaver so I can then submit to the database. Is this possible and how could it be achieved.
I'm trying to retrieve the name of a textfield, instead of it's value. I'm using a html page with a very simple form, containing 8 textfields. When submitted I call an asp page, and from that page I want to retrieve the textfield names from the submitted form.
Does anybody have an idea how the do this? It's for entering value's into an xml file and i want to use the textfield name's for naming the new xml elements.
how do i retian values in the textfield even after it is submitted ? Like for example, when you fill out most application forms, after submitting if there is an error it redirects you back to the first page alerting you of the error but the other values still remain. I would like to incoporate this function. where i can find them ?
how do i retian values in the textfield even after it is submitted ?
Like for example, when you fill out most application forms, after submitting if there is an error it redirects you back to the first page alerting you of the error but the other values still remain..
This is the snippet I use to achieve the above example, which is fine, when I use this snippet, and make the &""& without space between the quotes, then it returns: -
I am trying to what seems simple but can not get it to work. I am using Ultradev 4
I have a form that uses a checkbox to indicate weather a call has been closed or not. However if the call has been closed then I need a resolution text field to contain data. ie: If checkbox selected then resolution textfield can't be empty.
I've tried yaromats check form extension but it DOES NOT work as I am using a multiline text field. The extension works for a sinle line textfield but not a multiline.. I don't know why?
As a result I don't get the option to select this field using the "This must be checked to" option in Yaromats extension.
I am trying query the data from db and populate in the web form's textbox field. so far I cannot put that record into the text field box. anyone has idea on that, below is my sample code: