Questions tagged as 'input'

1
answer

How to pull the button of an input file (without JS) [duplicate]

I have the following input file and wanted to know how to get the button, so in the box just show the file name * I do not need JS, I have already seen some examples and I remember that they did not use JS, but I also do not re...
asked by 17.08.2016 / 23:44
2
answers

Check input password

Hello, I'm starting to learn JavaScript, and I'm not getting any way to make my code validate if there are 3 uppercase, 2 numbers, and 1 special characters in my input. I would like to know what I should be making of error, because I made severa...
asked by 29.06.2015 / 04:46
2
answers

Addition / multiplication of dynamic inputs and total in R $

Good afternoon, I need a great help, I'm stuck in a problem that apparently must be very easy! but I can not evolve. I have a code with the following fields: Inmyscriptthereare5groupsofapparentinputsandabuttontoaddmoreinputs(dynamicinputs),m...
asked by 31.08.2017 / 22:29
1
answer

HTML5: Problem with not operator in pattern attribute of input text

I want to make the input text allow only the following strings: site.com; site.com.br; site123.com123.br; site-123.com. But never: site-123-.com.br My expression looks like this: (([a-z0-9-]{3,})[^-])+\.([a-z0-9]{2,})(([.]{1})([a-z]{2}))...
asked by 10.10.2016 / 18:32
1
answer

customize input for multiupload of images

How can I customize an input field of file type for multiupload of images? I would like to get some image information, such as: format, size. (I know there are several plugins for this, but I'd like to learn from scratch how to do it) E...
asked by 16.11.2014 / 02:52
2
answers

Limit input html

I want to put an input in html and I want to limit only 2 numbers. <input type="text" name="Dia" maxlength="2" size="2" > I tried this one but letters still appear.     
asked by 27.01.2015 / 11:20
1
answer

limiting the value that can be typed in the input

I have a php variable that has a value that varies depending on the time !! Example 1st moment $valor = 300 2nd moment $valor = 20 3rd moment $valor = 5300 4th moment $valor = 1300 I also have an input,...
asked by 13.02.2015 / 02:02
1
answer

Get the most selected radio input with JavaScript

I'm setting up a test, I'm just having the html structure done, I wanted to know how to do which input radio is most selected. Ex: The most selected was "A", so when sending the form, the image corresponding to most letters "A" and so on with th...
asked by 12.09.2015 / 15:20
3
answers

Limit values for input text

I have two inputs and I need the value of the input of term to be greater than the value of the start input. Both are text type. Could someone help me? <div class="w3-half"> <label>Data de Início</label> <i...
asked by 10.01.2018 / 17:41
1
answer

Focus on the first field enabled in the form

In this way I activate the focus in the first field of the form that is not hidden : $('form:first *:input[type!=hidden]:first').focus(); How do I activate focus in the first field of the form that is not hidden and is n...
asked by 20.01.2017 / 19:58