Questions tagged as 'validaciones'

1
answer

"Element style not allowed as a child of element body in this context"

I am learning web development and I am validating my code in the NU HTML checker, but it throws me this error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)...
asked by 20.12.2017 / 19:49
1
answer

Validate Data in c ++

I need to validate the numerical data entry in c ++, I am using: #include<iostream> #include<stdio.h> using namespace std; int main() { int dato; cout<<"Ingrese un valor para dato: "; while( ( cin>>dato )...
asked by 14.10.2017 / 13:53
1
answer

Validate the blanks - NOT allowed - Javascript

I have a form with several fields in which it must be valid NOT to enter blank spaces. If so, you should show an error message. How would spaces be controlled? For example in the name field ... I have the following code: //Función que...
asked by 24.05.2017 / 00:43
1
answer

DataAnnotations [Required]

I have this ViewModel: public class ActividadViewModel { [Required(ErrorMessage = "Debe ingresar el tipo de actividad")] [Display(Name = "Actividad")] public string TipoActividad { get; set; } [Required(ErrorMessage = "Debe in...
asked by 23.02.2018 / 04:14
5
answers

Validate text fields in php

I'm doing a form in php and I need to validate that the fields are not empty. However, when writing EMPTY SPACES in the input, my function is returning a true value. Then the concrete question would be: How to validate that an input does not sta...
asked by 17.01.2018 / 04:35
0
answers

Validation in reactive Forms, Set SetValidators to not required

Good afternoon, I have a problem, I have burned all the ships and I can not get out of the mess, the issue is to change field validations in a reacive form based on the behavior of a group of fields. I am creating a recipe, it is a form with a h...
asked by 23.08.2017 / 20:53