Actions

QS

QS:em validación cuadrada

From LimeSurvey Manual

Revision as of 15:20, 4 September 2023 by Maren.fritz (talk | contribs) (Created page with "'''Valores válidos'''")


Ecuación de validación de subpreguntas (em_validation_sq)

Descripción

Esta es una ecuación que se utiliza para validar cada subpregunta (campo de texto) individualmente. Cualquier campo de texto que no pase estas condiciones de validación tendrá su color de fondo vuelto rosa (usando el estilo CSS .em_sq_fn_validation) para resaltar el error. Tenga en cuenta que esto está disponible además de la opción de validación basada en expresiones regulares.

Valores válidos

Any equation that makes use of the ExpressionScript syntax, without surrounding curly braces.

Examples

For example, if you want to allow only numbers that are a multiple of 3 as answers, the equation would be:

(this / 3) == floor(this/3)

The reserved variable this is automatically replaced by a reference to the active text entry cell.