LiveValidationFormat Macro


Validates that XObject property value against a regular expression.

Usage

{{livevalidationFormat form="formId" property="propertyReference" pattern="/regex/" failureMessage="A message to display when validation fail" /}}
 Param  Description
 form  Unique ID of the form html element that contains the validated field (Optional, default to inline).
 property  Property reference of the field to be validated.
 pattern  A regular expression pattern in Javascript syntax.
 failureMessage  Message to be used upon validation failure.

Examples

Add the following lines to MyApp.MyAppSheet.

{{livevalidationEmail property='MyApp.MyAppClass[0].myprop' pattern="/^[A-Z]*$/" failureMessage='myprop should be all uppercases.' /}}
  

Sobre el contenido del sitio web

Toda la información contenida en este sitio web tiene únicamente fines educativos. El lugar para obtener consejos médicos específicos, diagnósticos y tratamientos es su médico. El uso de este sitio es estrictamente bajo su propio riesgo. Si encuentra algo que cree que necesita ser corregido o aclarado, por favor háganoslo saber en: 

Envíe un correo electrónico: info@cdlsWorld.org