Questions tagged [inputbox]

The tag specifies an input field where the user can enter data. elements are used within a

element to declare input controls that allow users to input data. An input field can vary in many ways, depending on the type attribute.

The most important form element is the element.

The element is used to select user information.

An element can vary in many ways, depending on the type attribute. An element can be of type text field, checkbox, password, radio button, submit button, and more.

<input type="text"> defines a one-line input field that a user can enter text into.

<input type="password"> defines a password field.

<input type="radio"> defines a radio button: Radio buttons let a user select ONLY ONE of a limited number of choices.

<input type="checkbox"> defines a checkbox: Checkboxes let a user select ZERO or MORE options of a limited number of choices.

<input type="submit"> defines a submit button.

These are types of input box, for more details of its attributes and properties please refer w3c

475 questions
5
votes
1 answer

Input box Compile Error

I have been trying to get the name of a file name when someone uses this Macro. But for some reason every time I run the Macro I get the error: Compile error: Wrong number of arguments or invalid property assignment I have looked at tons of videos…
James
  • 65
  • 4
5
votes
2 answers

Make an Excel Macro that asks for a day and then insert it into the next open cell

I am trying to make an Excel Macro that asks for a day and then inserts it into the next open cell. here is the code I am trying to use. Sub Button7_Click() Dim AddName As String AddName = InputBox("Date: Month/Year", "Add Date", "01/00") …
duncan.w
  • 51
  • 2
5
votes
2 answers

Is it possible to disable autocomplete?

I know i shouldnt do it but it may be easier then explaining to the clients that you should do it through the browser. They have a public computer and a server running on the machine in an admin account (the code i am writing). They want people to…
user34537
5
votes
1 answer

Make Username and Password input box with AppleScript

I would like to make a dialog input box that looks exactly like this in AppleScript: Except without the picture in the top left of the lock. Also, I need to be able to save both inputs. I know I can use tell application "System Events" to display…
Patrick Cook
  • 458
  • 12
  • 27
5
votes
3 answers

Filling Internet Explorer inputbox

I read so many answers to my problem but somehow if I try to "mimic" what I see, I still am not able to do what I need. The problem is very simple: fill an inputbox on an opened IE page. Result: the code gets stuck on the line with getelementbyid…
Noldor130884
  • 974
  • 2
  • 16
  • 40
5
votes
4 answers

javascript, getelementbyname and focus

I am trying to create function that will look at the username if it is not valid send an alert to the user, clear the username field, and put the username field back into focus. I am trying to do this all with the getElementsBynName() function. It…
Brian
  • 65
  • 1
  • 1
  • 8
5
votes
3 answers

Add non-editable text after cursor in input box

I'm trying to add non-editable text after the cursor in a text field/input box as to achieve the following: 1) The text before the cursor is editable 2) The text after the cursor is not editable and moves right/left as the text to the left is…
Collarbone
  • 570
  • 7
  • 17
5
votes
5 answers

How to fill in an autocomplete inputbox using Selenium? (Why an automated input does not load autocomplete options BUT a manual input does?)

The following code tests an autocomlete box of a webpage: public class Test { public static void main(String[] args) throws InterruptedException { System.setProperty("webdriver.chrome.driver","chromedriver\\chromedriver.exe"); …
Buras
  • 3,069
  • 28
  • 79
  • 126
5
votes
2 answers

Which control to use for quick text input (inputbox)?

I need a quick text input dialog box (MessageBox with a single text box in it). Is there any control available or should I use a form? I just want user to enter some ID. And in other occasion I want 2 texboxes for username and password.
claws
  • 52,236
  • 58
  • 146
  • 195
5
votes
2 answers

Excel VBA Inputbox - Select range (Type 8) but not as a fixed range i.e. A1 not $A$1

I currently have the following line in my VBA code for an Inputbox: Set myValues = Application.InputBox("Please select on the spreadsheet the first cell in the column with the values that you are looking for:", Type:=8) However when I select the…
Asim
  • 105
  • 1
  • 5
  • 13
4
votes
3 answers

How to set timeout on event onChange

I have a gallery that show images, and i have a search textbox Im Trying to use Timeout on Input event to prevent the api call on every letter im typing : I try to handle the event with doSearch function onChange: but now I cant write anything on…
ShiGi
  • 91
  • 2
  • 3
  • 7
4
votes
2 answers

HTML input autofill placeholder

What is the best approach to show the user suggestions when he writes into a textbox? I have all possible values in a JS array. Take as an example the array ["TYPO3", "Javascript"]. Now if the user enters the starting characters of such a string, he…
Elektropepi
  • 1,115
  • 1
  • 13
  • 22
4
votes
1 answer

Input Box doesn't appear when macro is run from shortcut key

I have a simple little Excel macro that opens a template, asks for a filename, and saves the file. It runs from the Microsoft VBA window without issues, but when the shortcut key is used from Excel, it opens the file, but doesn't show the input box.…
Kelly Tessena Keck
  • 215
  • 1
  • 3
  • 12
4
votes
2 answers

Input box date range in vba?

I have an excel file and in the first column (A) i have some dates like this: 17/10/2013 18/10/2013 19/10/2013 20/10/2013 21/10/2013 22/10/2013 The other columns contains some datas. I need create an input box that takes everything inside a date…
David_D
  • 1,404
  • 4
  • 31
  • 65
3
votes
4 answers

Get img src from input box into a div

The idea behind this small project of mine is to have an user enter an URL for an img, when the user hits a button the img should then be inserted into a new
within the page. I tried looking for hours at stackoverflow but I honestly don't…
user1294097
  • 153
  • 1
  • 5
  • 14
1
2
3
31 32