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
2
votes
2 answers

Message and Input Boxes on a Web Form

I am making a web form where the player battles the computer in a game of Nim (taking coins from piles - person to take last coin is the winner) I have a button, where if the player pressed it I would like a input box to come up where the player…
2
votes
2 answers

VBA code to overwrite cells through moving /shifting up a range of cells with a user input box

I previously asked a question on VBA code to overwrite cells through moving /shifting up a range of cells and i got an answer which met my needs. However i realised that i had to hard code all the ranges for each table to perform this vba function…
Niva
  • 288
  • 1
  • 9
  • 28
2
votes
2 answers

Excel VBA cancelling input box does not return false/exit sub

I have a command button on my Excel sheet which opens an application.inputbox, preloaded with the currently selected range, and appends the contents of the cells in that range to a comment on those cells. I am using an if/else statement to check if…
MichaelV
  • 25
  • 7
2
votes
2 answers

TextBox Validation to put special character while typing

I have a requirement with the Textbox . When ever I put some values there should be some validation to put "-" in between the values. Like When I put the value 123456789 in the textbox , it will show me automatically "123-45678-9" or any other…
s_k_t
  • 689
  • 1
  • 15
  • 36
2
votes
1 answer

VBS If file is open

I've got a simple program than scans data into a spreadsheet along with a timestamp, then you can either update the data by saving, or quit and exit and save. The only issue I've been stuck on for a day or so is to work around the error handling of…
Ian Fafard
  • 51
  • 8
2
votes
2 answers

Validate entry of an input box

Im trying to get an input box to validate the entries a user will make. i'm using the below script but cant get the validation to work, any help would be appreciated. Sub inputbox() Dim Manager As Long On Error Resume Next …
Adrian Gornall
  • 327
  • 5
  • 12
  • 28
2
votes
1 answer

VBA Password Input with Cancel Function

I have been using the standard password textbox written by Daniel Klann (http://www.ozgrid.com/forum/showthread.php?t=72794) to hide the password inputs. The main problem is that the standard InputBox returns empty fields and cancel the same way.…
David Folkner
  • 1,171
  • 1
  • 13
  • 27
2
votes
1 answer

put an image as the background of an input box

I wanted to put an image in a msgbox. After I searched for it I found it impossible so I decided to put the image into the background of a input box on msgbox. But I can't find how to do that: Putting an image as the background of a input…
user2864615
  • 23
  • 1
  • 3
2
votes
1 answer

Run-time error 13 Type mismatch~ when Application.Inputbox Cancel

I've read a few questions & articles about this issue, though since I'm a total beginner, I couldn't figure out my personal solution. I need to exit sub when the user clicks cancel on the InputBox form. In adddition, I need the InputBox to accept…
Anton Frolov
  • 27
  • 1
  • 7
2
votes
1 answer

Opencart extra field on payment select

I'm trying to add Automatic Incasso to the webshop. Everything is al done, but right now, i want to tweak it. The online test website is: g7.rjbtest.nl I want that if you choose the automatic incasso at step 5, at the bottom before the continue…
Mathlight
  • 6,436
  • 17
  • 62
  • 107
2
votes
1 answer

Outlook VBA: Adding browse button to input box to get folder path

I was looking for any options on a browse for folder within Outlook VBA. Currently I have, from a previous search: Dim save_to_folder As String save_to_folder = InputBox("Search returned " & objRsts.Count & " messages._ Please input folder…
user2414983
  • 21
  • 1
  • 2
2
votes
1 answer

How to automatically get data from database using drop down list and input boxes?

Possible Duplicate: option in dropdown box that changes an input box I am building a scheduler using php-mysql. I have a drop down list for course code and an input box that displays automatically the subject name of the selected course code from…
King Lagahit
  • 21
  • 1
  • 2
2
votes
1 answer

InputBox using VisualBasic.DLL requires DialogResult

I'm using an InputBox from the Visual Basic Library and I need to determine which button has been selected by the end user. With the InputBox you can only grab the Entered Value by the user, I also need to detect if they hit Ok or Cancel. Has…
Derek
  • 8,300
  • 12
  • 56
  • 88
1
vote
1 answer

pass inputbox value as a querystring to URL

I have an inputbox and a link for SEARCH styled to look like a Search button. When a user types in a keyword in the inputbox, I want to grab that keyword, pass it, and append it as a search query string to the search URL…
Aj Kancha
  • 37
  • 1
  • 8
1
vote
1 answer

How to add an InputBox to search for words within all files in a designated folder

I have been using the excellent macro below, created by Macropod an posted in another forum, to run through all files in a designated folder to search for desired words. It works perfectly but I was wondering how to adjust it so that the search…
Luke
  • 23
  • 4