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.' /}}

  

Über den Inhalt der Website

Alle Informationen auf dieser WebSite dienen ausschließlich der Aufklärung. Der richtige Ort, um spezifischen medizinischen Rat, Diagnosen und Behandlungen zu erhalten, ist Ihr Arzt. Die Nutzung dieser Website erfolgt ausschließlich auf eigene Gefahr. Wenn Sie etwas finden, das Ihrer Meinung nach einer Korrektur oder Klärung bedarf, lassen Sie es uns bitte wissen: 

Senden Sie eine E-Mail: info@cdlsWorld.org