Most voted "placeholder" questions
It is a property for forms that arrived with HTML5. We should use it to determine descriptive text within the form field itself, improving user experience and even speeding up reading.
Learn more…26 questions
Sort by count of
-
16
votes2
answers1206
viewsShould placeholders contain examples or descriptions?
I am building an application and in my forms the placeholders fields are empty because I haven’t decided which criteria to use to fill them. On many websites and apps it is common to find two types…
-
13
votes2
answers36925
viewsChange the "placeholder" color without affecting the "value" color
In HTML5, we can make use of the attribute placeholder (English) in order to give the user a hint about the type of data that a given field accepts. To avoid confusion between data actually written…
-
11
votes2
answers1010
viewsHow can I simulate a placeholder using a label?
I’m trying to get the label simulate a fixed placeholder. The biggest difficulty is changing the properties of label when the input receives the focus, and the input fill in the rest of the space…
-
9
votes2
answers6568
views"placeholder" of "textarea" does not appear
I have a textarea with a placeholder which according to the documentation (English) is perfectly valid and should work: Example in Jsfiddle Part of the form <?php /* Apenas o código referente à…
-
3
votes1
answer446
viewsC# - CPF Mask
I’m looking to put a placeholder effect on a masking text box. The idea is to activate the CPF mask as soon as it enters the text box and disable it if the text box is empty when exiting. private…
c# textbox desktop-application mask placeholderasked 5 years, 9 months ago Pedro Henrique de Lima 33 -
2
votes1
answer81
viewsUPDATE, field with "placeholder query" failed execution
Follows the code: $campo = $_POST['campo']; $valor = $_POST['valor']; $id = $_POST['id']; $mysqli = new mysqli("localhost","root","","tabela"); mysqli_set_charset($mysqli,"utf8"); $consulta =…
-
2
votes3
answers851
viewsAdd a title to the SELECT tag (without the "Selected disabled" option) without it appearing in the options?
How do I add a title to select that it appears in the options and disappears when selecting? I know it looks like a duplicate, but the problem is I haven’t found what I’d like exactly, option…
-
2
votes2
answers109
viewsPlaceholder color does not change when mouse is over it in another theme
I have the following research box placeholder is customized even in the hover, however when I switch to the high contrast mode of the site, it does not change the color of the placeholder when in…
-
1
votes1
answer180
viewsIdeal "replacement" for the placeholder
I’m in the final phase of a project! And now I’m doing the analysis as performance tests and structuring errors! One of the errors found is the placeholder of inputs and textarea. What I can use in…
-
1
votes1
answer443
viewsHelp with placeholder that does not change color
Guys I really need your help. I am developing a website. So studying more precisely Html5 and css3 and I have a huge problem that I cannot solve... Here the format of the site in Codepen:…
-
1
votes2
answers519
viewsPlaceholder does not appear after applying "padding" to input
Hello, I have a very silly and simple problem that is making me waste a P#@& time! come on.. I’m using the Bootstrap v3.3.6 CLASS="form-control" In case someone wants to make an inspection on…
-
1
votes2
answers138
viewsDoubt in CSS, placeholder
I have this following login page: https://jsfiddle.net/rafael_breno/qzkgqt9h/ It’s as simple as I expected, but when I enter any information in the fields(input), the placeholder goes back to the…
-
1
votes1
answer324
viewsHow to insert single quotes inside simple html quotes
I need the placeholder for my input tag to be "Patient’s Name" and thanks to the script being used, I can’t double quote. I would like to know how I can insert a single quote within two single…
-
1
votes2
answers1150
viewsAnimated placeholder
ola found that answer https://jsfiddle.net/2a1kvcn6/1/ however I cannot keep the placeholder as title, once I type something it disappears, this way the box is without identification .inputAnimado{…
-
1
votes2
answers194
viewsHow to recover all occurrences [[xxx]] of a string in PHP?
I have a text with placeholders [[xx]], [[ccvf]], [[dfg]], etc. The text inside the placeholder is undetermined and the number of placeholders is variable. Then in the following text as I could have…
-
1
votes1
answer487
viewsChange placeholder by clicking the radio
I’m new to JS, and I would like to click on a radio and the placeholder would change according to the radio clicked, I did this way but it doesn’t work. Here is my Modal: <!-- Button to Open the…
-
0
votes1
answer1615
viewsGenerate image dynamically by url
How do I create in PHP with the Placehold.it image server Intervention? Type like this when I write the HTML IMG tag inside src I pass an address that should return an image. Ex.: <img…
-
0
votes1
answer405
viewsStandardize color of textarea letters with placeholder
The color of input placeholder is stronger than textarea! I’m using CSS like this: ::-webkit-input-placeholder { /* WebKit browsers */ color: #757575 !important; font-size: 14px; font-weight: bold;…
-
0
votes1
answer1966
viewsLine break in placeholder in React-Native textinput
There is the possibility of a line break in the Textinput of the React Enable so that it shows the whole placeholder?
-
0
votes1
answer54
viewsPlaceholder in <h:inputText with JSF 1.x
Good morning, I’m with a system developed with version 1.2 of JSF and Richfaces 3.3 I’ve been researching about including a placeholder in the element <h:inputText jsf but only found tutorials…
-
0
votes2
answers3929
viewsHow to position the placeholder
How can I position the placeholder? I created a input but the digitable field does not follow, as in the example image: .inpt { border: none; background-color: #EBEBEB; padding: 3% 20%; margin-top:…
-
0
votes0
answers52
viewsCall jQuery function when rendering component via ajax
I have a little problem that is: I have a component RichFaces more specifically the rich:listShuttle id "migrarId". Inside that component I have a input who owns a placeholder that is generated via…
-
0
votes1
answer207
viewsFlutter Autocompletetextfield with dynamic hintText
Description My App consists of two widgets: The first (Autocompleteinput) is composed of an autocomplete field (Autocompletetextfield) and a button beside it as shown in the following image: When an…
-
-1
votes2
answers1161
viewsSelenium IDE - Placeholder
I’m having trouble automating a test where I fill a field (placeholder) and save. When consulting what I saved, I see that the information entered in the field was not made. <input…
-
-2
votes2
answers59
viewsplaceholder with the same label name
How do I get the placeholder to pick the same name that’s on my label ? I’m doing it this way: <label for="sing_pass" class="label_pass"><span class="lang" key ="Text33">Code…
-
-3
votes4
answers1964
viewsSet placeholder with PHP variable
I have a Registration/Search Form and now I’m adding the option to edit the fields. To keep the employee from getting confused, I wanted to set the placeholder with a PHP variable, through the echo.…