LiveValidationPresence Macro


Description

Validates that XObject property value is present (ie. not null, undefined, or an empty string).

Usage

{{livevalidationPresence form='formId' property='propertyReference' failureMessage='Non empty value required.' /}}
 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.
 failureMessage  Message to be used upon validation failure.

Examples

Add the following lines to MyApp.MyAppSheet.
{{livevalidationPresence property='MyApp.MyAppClass[0].myprop' failureMessage='myprop cannot be empty.' /}}

  

About the website contents

All of the information on this WebSite is for education purposes only. The place to get specific medical advice, diagnoses, and treatment is your doctor. Use of this site is strictly at your own risk. If you find something that you think needs correction or clarification, please let us know at: 

Send a email: info@cdlsWorld.org