Questions tagged as 'input'

2
answers

How to validate in a reactive form of angular data entry so that they are only numbers?

I have a reactive form in Angular 5.2.0 . Configure the validations; nid, name, email, address. All work well, they show the right message in each case. But in the case of a (N.I.D.), which I ask accept only numbers, the error message appears w...
asked by 09.08.2018 / 15:39
0
answers

Issue message by pressing submit button and display access result to bb.dd

We have a page with HTLM and php code with include (Busconv.php), in which I perform a search on bb.ddd, I would like to know how I can issue a message when I press the SEARCH button and there is no record in the bb.dd .. The approach...
asked by 16.05.2018 / 11:40
3
answers

How to show the data entered in inputs and dropdowns through a submit with php or javascript?

Very good people from the forum What I would like to do, which I do not have the slightest idea in this language, is to show the data that is entered in certain inputs and dropdowns in a secondary screen, so to speak, through a submit so that...
asked by 07.03.2018 / 19:09
1
answer

Label for attached to a radio input

I wish that when selecting the text of a radio button the corresponding button is assigned or selected. The nomenclature is usually that the name that we assign to label for must be the equivalent of the name of id of inp...
asked by 04.01.2018 / 23:58
2
answers

Format Input text with dotted format in thousands and decimal places

I am trying to create a directive or other element that allows me to show formatted an input text as 12.345,67 and to enter the decimal point (,). Examples:    Thousand, formatted should be 1,000       Thousand with 53 decimals,...
asked by 18.05.2018 / 13:58
1
answer

Save Value of an Input Radio in a Javascript variable

This code corresponds to the JavaScript code: <script type="text/javascript"> $(document).ready(function() { var Id = document.getElementsByName("rama");//ESTA ES LA FORMA QUE USO let activoFijo = $('input[name="activoFijo"]:chec...
asked by 18.10.2018 / 06:52
2
answers

What is the correct syntax of input and label in a fomurlario?

I think the question is very basic but, I'm learning and I've found the input and label syntax in both ways     
asked by 22.08.2018 / 00:22
4
answers

how can I use input validation to request a positive number and continue the program?

I would like an output like this: (I would prefer to use only while and Boolean expressions if possible.) escribe un numero: -50 debes usar un numero positivo! escribe un numero: -200 debes usar un numero positivo! escribe un numero: 200 esc...
asked by 30.10.2018 / 01:47
1
answer

The second time of onchage does not work on an input file

The code tries to draw on the canvas the image that I select with the input, but it turns out that in the code I have, the first time I enter an image it works but when I re-select another photo in the input file, the onchange no longer works....
asked by 08.06.2018 / 11:32
2
answers

Because clicking on the datalist is not reflected in the textarea

The function is that what I choose in the datalist happens to the textarea but I do not know what happens I searched but I do not understand. var control = 0; function muestraentextarea(correo) { var txtarea = document.getElementBy...
asked by 27.06.2017 / 16:31