Most voted "label" questions
The tag <label> is used to associate a label to its respective form field.</label>
Learn more…62 questions
Sort by count of
-
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…
-
7
votes1
answer377
viewsHow to put an HTML code on a label in Laravel?
When I try to do that: {{ Form::label("nomecampo", "Descrição<em>*</em>", array("class" => "entrada")) }} The tag enters inside the tag but is not interpreted correctly. See:…
-
5
votes2
answers2507
viewsHow to put part of a text in bold in Tkinter?
I need to display a text in a GUI interface made with Tkinter, however, I would like only one word in the middle of this text to be in bold. I’m using it this way: texto = Label(Frame, text="Texto…
-
4
votes2
answers1564
viewsIs it correct to use the Input tag within a Label tag?
I was taking a look at the tutorial from W3schools, where he’s teaching to use the input of the kind checkbox in Bootstrap. According to one example, I saw the following code:: <div…
-
3
votes2
answers578
viewsGet the optgroup label and option value and display in a div with Jquery
I have the following code: <select> <optgroup label="fruta"> <option value="banana">banana</option> <option value="uva">uva</option> </optgroup>…
-
3
votes1
answer466
viewsHow to handle jquery validate error messages?
Here is the case: I have two inputs, the two are validated with the validate, one I need to show the error msg and change the border color, the other just need to change the color of the Boar,…
-
3
votes1
answer4847
viewsHow do I put the value of a variable inside a textbox?
Guys I’m having a boring problem. I wanted to put the text I took out of a textbox and put in another that this defined as readonly. I wanted it to work as a label. I tried textchange gave error.…
-
3
votes1
answer3296
viewsHow to make a text fit the size of the Tkinter screen?
I am making an application on Tkinter and I need the text typed on a single label to fit the window size, because otherwise I have to stay using line breaking. Can someone help me? from tkinter…
-
3
votes2
answers95
viewsLabel in loop on Foreach
I’m having difficulty showing information that comes from an object to display on a Label, returning in list form. //Pegando os dados do Rest e armazenando na variável usuários var usuario =…
-
3
votes2
answers144
viewsDisplay None on label calling by ID does not work in Safari browser
I think some experienced will know how to answer me! I can not make the code below work in Safari browser and older versions of Opera. I have tested in all others and works perfectly even in IE…
-
2
votes0
answers149
viewsHow do I get the form to update correctly?
I have a screen in Delphi that is constantly updated, is used along with a ratchet, every time a person puts the digital or enters the password, this screen is updated with the information of this…
-
2
votes2
answers1748
viewsPython 3.5.0 ::: Delete a Label in Tkinter
I have a code that allows me to play to stone-paper-scissors. Here’s the Tkinter window: The result does not appear every time I play, because the label of this text does not disappear or delete the…
-
2
votes1
answer630
viewsLabel no Bootstrap
Ola Pessoal, They have already helped me a lot, but now I have another problem... I want that when you press or pass the mouse in the inputs, appears on top the name... I’ve made it work, but with…
twitter-bootstrap bootstrap-3 label bootstrap-validatorasked 6 years, 11 months ago Luccas Gaulia 95 -
2
votes1
answer256
viewsHow to remove a Label that was created dynamically in VBA?
The code below, sent by Luiz Vieira, creates Labels dynamically and a click treatment function for each Label. I would like to know how to use the Click event to remove the dynamically created…
-
2
votes2
answers783
viewsCSS - How to select the last sibling?
I have the following HTML structure: <form action="" id="form-contato"> <label for="nome">Nome</label> <input type="text" name="nome" id="nome" placeholder="Nome"/> <label…
-
2
votes2
answers2990
viewsHow to align a checkbox next to a label?
I would like to align my label with the checkbox using CSS, so that the label does not get below the checkbox. Here’s a print of how I’d like it to look: Mine is getting like this: body { display:…
-
2
votes0
answers354
viewsDynamic Text Label on Tkinter
I researched a lot here in stack and google, I spent all night looking for a simple solution but I did not find, I saw some ways to solve but none worked for me until now. Situation: I am creating a…
-
2
votes1
answer95
viewsObject does not recognize member
All I do is in Python. One of the functions I have to do is a conversion, where she tries to convert the value of TextBox and if it goes wrong, run the error block. private void converter(object…
-
2
votes0
answers94
viewsLabel reversed Stacked Bar R
The feminine/masculine colors pros generos appear correctly on the chart, however, when I add "Labels" the amount that is gen F appears below and gen M appears in the middle p4 <- ggplot() +…
-
1
votes1
answer670
viewsToggle action from a button
I’ve been searching the internet and I haven’t found anything that can explain me how I do to switch the action of a button in Java... Example: I have a button that when I press it I want it to…
-
1
votes1
answer125
viewsLabel refresh auto
I wonder how I could automatically refresh a LABEL who is in a Master Page. That one Label shows the sum of the quantity of the products, and whenever I add a product to the cart Label does not…
-
1
votes1
answer101
viewsHow to automatically add lines (label) to an Uicollection in Swift?
In my application I managed to use Uicollection to show a "table" with horizontal scrolling containing the purchase information of the customer with header, but now I have another question, I need…
-
1
votes0
answers85
viewsAdd label to high Charts using html table
I am unable to add a label to my type : pie chart from my HTML table. It would be possible to do this? grafico.grafico007 = { getData: function() { url = ajaxurl + "Relatorios/rel007"; data =…
-
1
votes3
answers2423
viewsHow to break line between CSS tags
I would like to know how to break the line between tags of the same type Ex: I have several Abels and I want to break the line between them, but in a way that I do once for all
-
1
votes3
answers82
viewsJavascript - Function problem that adds textbox
On my PHP and Javascript page, I created a space that contains two Textbox and a clickable label to add more Textbox, if necessary, to div numPart: <div id="numPart"> <div…
-
1
votes0
answers51
viewsPHP and Javascript - E-mail when label is clicked
I have a form on my page, and part of it can be printed when clicked on a Print label: <label id="printEvento" class="textDescricaoSobre font13" style="cursor: pointer">IMPRIMIR…
-
1
votes4
answers9708
viewsMask in html and css form only
I’m starting in HTML/CSS and trying to create mask only in these markings (HTML/CSS) for my form fields. It will be possible or should use Javascript for the import of masks? <label…
-
1
votes3
answers517
viewsTake information from a Website and Label it?
I want to navigate to the Site and get the Current Bitcoin Value to Insert into a Label. This was my attempt that clearly didn’t work... private void Form1_Load(object sender, EventArgs e) {…
-
1
votes0
answers60
viewsGenerate International USPS Tag with Easypost C#
I would like to generate a label(label) international of USPS with the easypost, but when I put address of Brazil or other country other than the US, he of error. Example:…
-
1
votes2
answers968
viewsPython 3.x Show typed data in an Entry on a Label only after pressing a button
I wanted to know the following; In my show, there’s: Entry1 -> where the user enters some information btn1 -> where it confirms the previously typed name and data is displayed on the console…
-
1
votes1
answer1072
viewsHow to take the Text of a Div Class and Put it inside a Label?
I’m trying to take the "value" inside the div to put inside a label. Div: <div class="info">valor</div> First Attempt Variavel1 =…
-
1
votes1
answer188
viewsJavascript - Quiz
I’m studying Javascript, beginner level. So, I’m trying to assemble a quiz according to a tutorial I found but find the following error while running: ["SyntaxError: expected expression, got…
-
1
votes1
answer1130
viewsChange Label in view in Asp.Net MVC Project
I created a class in the Model called Payment.Cs, where it has the attributes exactly written as the name of the fields in my payment table in the BD. I created a view to register the payment…
-
1
votes0
answers494
viewsHow to modify the text of a button by pressing it?
I am very new in this field of programming with graphical interfaces and I am with a project with Arduino... The communication part is OK, but I can’t do anything simple like: Change both the color…
-
1
votes1
answer136
viewsLabel does not update via setText in Javafx
Good night, I have a problem trying to change the text of a label through the sexText method and I can’t identify the problem, I appreciate the help. Code: void atualizar() {…
-
1
votes2
answers213
viewsModify attributes of a label with a dynamic name
Example I did this because I am creating Controls and names dynamically, well. the problem is when I need to use or call these values. If I want to change the value of the control your text or value…
-
1
votes1
answer47
viewsAlignment of Text to Input
Good evening, everyone, I hope you’re all right. I’m having trouble aligning Text on top of Input. HTML <div class="form-group2 col-md-4"> <label for="inputState">Estado</label>…
-
0
votes1
answer155
viewsShowing the value of Readprocessmemory C++
once I used the function below: BOOL readyProcessMe = ReadProcessMemory(process, (LPCVOID)memory, &value, 4, 0); How can I show the correct value on a label?…
-
0
votes1
answer925
viewsHow to translate (or edit) validation messages or "Labels" into wordpress plugins?
As an example, I installed a plugin to add an attachment upload field in the Wordpress comments form- https://wordpress.org/plugins/comment-attachment/ How can I change the text in "attachmentRules"…
-
0
votes1
answer761
viewsHow to put shade on a "label" in Delphi?
Hello, I was wondering how to put shadow on a "label" in Delphi like this image below:
-
0
votes1
answer94
viewsstretch label horizontally on a panel in c#
What properties to use to stretch a label (the label in question has the text "shortcuts") in a panel? I want it to occupy horizontally the entire space of the left panel. Program example:…
-
0
votes1
answer85
viewsLabel moving as digital signage
Hello, I would like to know how I do in Swift a phrase keep passing from right to left and when every sentence pass she keep doing the same procedure forever, like a digital sign.
-
0
votes0
answers50
viewsLabel with transparent background
I’m making a program all in VBA, in Excel (office 2016), and suddenly some components fail to work properly. The main, and essential, change was that no field gets the transparent Backstyle (it used…
-
0
votes1
answer143
viewsProblems acquiring data from a Javafx Label
Good afternoon, I’m starting a simple example for data acquisition of a Label in Javafx, but I’m having difficulties, most of the sources told me to perform as follows: public class MainApp extends…
-
0
votes0
answers61
viewsHow to change the color and positioning of two Labels side by side in XAML?
<Label> <Label.FormattedText> <FormattedString> <Span Text="R$" FontAttributes="Bold" FontSize="Large"/> <Span x:Name="CalculoParcial" …
-
0
votes1
answer177
viewsHow to dynamically change an image in a kivy label
I want to dynamically change an image on a kivy label. every time the variable increases a number the label should change the image in python def mudaimagem(self): erros = self.qtd_erros if erros ==…
-
0
votes2
answers30
viewsParameters of the Abels in Printpage
What parameters are possible to define the printing of Abels: The code I’m using is as follows:: e.Graphics.DrawString(label_nota_entrega.Text, new Font("Arial", 14, FontStyle.Bold), Brushes.Black,…
-
0
votes2
answers990
viewsAdd label to a Container in Flutter
I would like to add a label like the image below on the edge of a container, the code of my container is this: new Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(5.0),…
-
0
votes0
answers1062
viewsChange data in a spreadsheet through a listbox
I have a form with two text boxes, three command buttons, a listbox and some Abels. The purpose of the form is to list data that is entered in the database (which is the excel spreadsheet itself).…
-
0
votes0
answers106
views