Questions tagged [textinput]

For questions related to a single-line, text input. EG: ``, or a UITextField, or TextInput (Flash), or `` (RSS). ... Use textarea for multiline or WYSIWYG text controls.

Use the tag for questions related to a single-line, text input.
For example:

  1. <input type="text" ...>
  2. An Apple UITextField control
  3. A Flash TextInput control
  4. An RSS <textinput>

Use for multiline or WYSIWYG text controls.

References:

  1. <input> references: Mozilla MDN,   w3schools
  2. UITextField class reference (Apple IOS)
  3. TextInput class reference (Adobe Flash)
  4. RSS <textinput> reference


Note:
Hand purge the tag? (It currently has 18 questions as opposed to 347 for .)

1365 questions
-2
votes
2 answers

How to get newline character in TextField

I am using Stream chat API for the chat application. And while sending message I want to use the newline character in the textinput but I tried, the following code. It isn't working. And I am not finding any fixes, on the internet. Any help would be…
krishnaacharyaa
  • 14,953
  • 4
  • 49
  • 88
-2
votes
1 answer

How do we iteratively accept input from single input form through looping with JavaScript?

I had the following code and I wondered if the question I asked is implementable: var sum = 0; while (document.getElementById("number").value != 0) { //while the user keeps on entering >0, add to sum sum = sum +…
-2
votes
1 answer

How to change the border colour 'onChangeText' in TextInput Component

So, I was trying to make this nice little TextInput Component where the border colour changes as soon as I start typing and if I clear the text border colour returns to default.
Nishi
  • 57
  • 12
-2
votes
1 answer

kivy multiscreen can not find the id

all, i can not pass the goi into the function submit_goi in class VQCIA in my kivy code. i'd appreciate if some one can fix the code. print self.goi.text() sentence reports a problem, and it says AttributeError: 'NoneType' object has no attribute…
htong
  • 53
  • 9
-2
votes
2 answers

how to set state of textinput react

I'm just learning react Native, but why doesn't the editable change to true when I press the button? class App extends React.Component { state = { isWrong: false }; render() { return (
Miles Low
  • 23
  • 8
-2
votes
1 answer

Qt/QML: how to find TextInput maximum width based on validator

Doing my first steps in QML, so this might be obvious... When using a TextInput with a simple validator (say an IntValidator), is there a way to know the maximum width that TextInput field will take? As an example, if I create a IntValidator for a…
Will59
  • 1,430
  • 1
  • 16
  • 37
-2
votes
1 answer

I cannot type "@" in a text input after i updated Flash professional CC to Animate CC

After I updatet my Flash Professional to Animate CC, I cant seem to be able to type in any of the special characters into a text input. I've tried restricting it, but that doesn't work. The reason i need this is because we got a task in out IT class…
Tacey
  • 13
  • 2
  • 6
-2
votes
2 answers

JavaScript- how to create dynamically multiple divs with inputs field

I have to create 3 input text boxes for getting user input about names and email addresses. I have to create it dynamically, i.e. as the user clicks on the email input field a new line of all the three element supposed to be created. This is the…
sarit rotshild
  • 733
  • 2
  • 10
  • 19
-2
votes
2 answers

how to multiply between decimal and textinput in php?

$number=$_REQUEST['number']; $price=$row2['costpeople']; $endprice=$price*$number; number is the name of input, type of this input is "TEXT" and costpeople is a field of database that type of this field is decimal. when multiply Between price…
Neda
  • 57
  • 6
-2
votes
2 answers

Reading text file in C

My professor gave us the code to get input from a text file. The issue is it will not compile properly for me. I'm not sure where he (or I) went wrong. I have not modified his code in any way and my txt file is in the same directory as the…
user1798299
  • 173
  • 2
  • 4
  • 12
-3
votes
2 answers

how to assign default value in form input field for password?

I am trying to design a form in put field similar to the one in twitter i need to assign default value for the input fields, i did assign ,but for password the value displayed was in a password format, how to show the default value of the password…
Ezhil
  • 389
  • 1
  • 4
  • 18
-3
votes
1 answer

Get number from non numeric text input string without having to break form behaviour

I have an input where I will parse a number out of the text (has commas ect) when sending to the form. What is the easiest way to do this? Do I have to break the normal form submit behaviour and get the number out with a js function? Adobe flex had…
SuperUberDuper
  • 9,242
  • 9
  • 39
  • 72
-3
votes
1 answer

how to combine to text box in a form using css?

How to combine to text box in a form using css as on tumblr https://www.tumblr.com/login and if it can not be done by css then how can that be done? Please help me with this I want to make login form look nicer so i want to combine the input boxes…
namann26
  • 37
  • 3
-3
votes
1 answer

Prevent executing mathematical expression in input field when adding value to MySQL (PHP)

I have set up the following form:
Season A
user1384668
  • 127
  • 2
  • 3
  • 11
1 2 3
90
91