textfield

Any pitfalls of converting MySQL TEXT field to MEDIUMTEXT?

I understand the size/storage constraints of MySQL TEXT and MEDIUMTEXT fields, but I just wanted to make absolutely sure (before I sign off on a change) that I'm not looking at any adverse effects from converting a field with existing data from TEXT to MEDIUMTEXT. My concerns are mainly performance, integrity, and disk storage. Thanks ...

Java AWT TextField does not get ghosted when disabled on Windows

I have an AWT text field that gets enabled and disabled based on the state of a Checkbox. On OSX when the TextField is disabled it gets ghosted but this does not occur on Windows 7. Is this how it is supposed to work on Windows? Is there a way to get the TextField to become ghosted on Windows. Note: We are doing a little maintenance ...

control the textfield from checkbox

dear i have 2 text and 2 checkbox: <input type="checkbox" id="class1"> <input type="checkbox" id="class2"> <div id="hidden"> <input type="text" id="valclass1"> <input type="text" id="valclass2"> </div> i want if i checked at "class1" then click show button "valclass1" can show. but if not checked, it hidden.how do i do that? ...

how to show sequential results inside textfield

dear all.I want to use only one textfield for different results. what should I do if I want after pressing a few times a checkbox or another checkbox the results will appear sequentially in the textfield.for example: <input type="checkbox" id="see" value="a"> <input type="checkbox" id="saw" value="b"> <input type="text" id="field"> <in...

creating an address textfield like in apple's sms-app

Hi, I'm writing an app, where I the user has to be able to select multiple adresses. I wanted to solve this in the same way, apple does when you send an SMS to someone. You can enter text and it gets surrounded by a blue bubble for each adress selected. I've already found facebook's tree20-kit, but I can't get it to work because of som...

Flash TextField -- make it act like a label?

How can i disable the text selection abilities and such of flash TextFields (so they act like labels)? ...

Escaping Apostrophes in Javascript Generated From PHP

I am trying to have a textfield with an initial value, where if you click on it, the text disappears, and if you click out before anything has been entered the initial value returns much like the search box on Yahoo answers and many other sites. echo "<input type=\"text\" onblur=\"if (this.value == '') {this.value = '$cleaned';}\" o...

Hide textfield blinking cursor

Let's say I have a textfield... is there a way to HIDE the blinking text cursor? I say this because I am doing a horror/mystery website and one of the clues is to start typing anywhere. Get it? :P Maybe i can do it with javascript? ...

Underlining Text in an <input> Box

I've gotten a request from a client to underline text in a text field. Both single and double lines. Is this even possible? I assume with some obscure plugin but I haven't found it yet. :P I've thought about there being 2 possibilities, if this is possible. 1) Underlining the text in the actual field. 2) Doing some crazy hack with tex...

Does anyone know how to change the character of a textfield caret with javascript?

Like the title reads, I want to change the character of a caret. Maybe make it a letter or something? Thanks. ...

How do you change the color of the intial text in a text field using CSS?

And how do you make the text disappear when you click into the field and reappear when you click out of it? ...

splitting string by C#

I've got this string: UNB+UNOA:1+094200005560743089001003:OD+094200005565200077SP0001:OD+100705:1017+570180'UNH+1+SYNCRO:2::OD'MID+102711015461800+100705:1014'CDT+::::::BQ6UB'BDT+::::::1003-002'CSG+:Nisses MONTERING:::::BP2TH+005+TCSB'SEQ+CR+2059433+YV1CM5957B1574778:602816985'ARD+39855213::PART NO'SDD+100705+1'UNT+9+1'UNZ+1+5701...

Java set Font Color in a disabled Text Field

I have a disabled JTextField and due to readability problems i want to make the font black again. So that it looks like its not disabled, but i cant edit it. any suggestions? ...

Clearing a text field if nothing is submitted

I don't know if this is even possible, but in my rails app, I have this currently to put text in a text_field to be a description instead of having an external label: <% inside = "Search for Customers" %> <%= text_field_tag :search, params[:search], :style => "color:#aaa;", :...

Select box with 'Other' option to display input text field. How to get value back for form submission using jquery?

I've got a form with the following select box: <fieldset id="workers_comp_info"> <p> <label for="i_n_r_reason">Reason why Workers Comp Insurance is not required:</label> <select name="i_n_r_reason" id="i_n_r_reason"> <option value="No employees">No employees</option> <option value="1-2 employees">1-2 employees</opt...

How to change textfield height for an ipad using interface builder?

We're using Interface Builder for developing an app for the iPad and we can't figure out how to increase the height of the textfields. When we were using IB to develop an application for osx, you could go to the textfields attributes and under the control section you could set line break to word wrap instead of clip. When we try to ...

jQuery ELSE IF - textfield registers click as "not empty" and ignores alert

my statements and code work well, ALTHOUGH if i click in either textfield and don't enter a value the jQuery registers it as "not empty" in the field and does not execute the alert. What do you think i've missed? or need to add? I'm working in a Groovy/Grails environment, hence my g: fields. // if textfield has or has no content show...

google chrome drag textfield

Im making a website, in one of my pages im using a textarea, but when im look in google chrome i can drag the textarea very big. is there a way to disable this? THNX! Stefan ...

access 2007 a loop to loop through a particular textbox in one form

my problem is as follows I have a properties form which contains a textfield called DateTo(this textfield contains the data type Date) I would like to loop through the DateTo textfield on each of the properties and prints this out in a message box as wasll as a tenantName textfield and a tenantAddress1 field. After this is complete i w...

Best way to restrict a text field to numbers only?

I'm using the following Javascript to restrict a text field on my website to only accept numerical input, and no other letters or characters. The problem is, it REALLY rejects all other key inputs, like ctrl-A to select the text, or even any other browser functions like ctrl-T or ctrl-W while the text box is selected. Does anyone know of...