Checkifmessage (attribute of property)
From JRapid
(Redirected from Checkifmessage)
checkifmessage is an attribute of property.
Contents |
Description
The checkifmessage is used with the checkif condition.
Usage
<property ... checkif="FPATH_CONDITION" checkifmessage="MESSAGE" ... />
Examples
Using the checkifmessage attribute developers may change the error message shown by a checkif condition.
<entity label="Reservation" name="Reservation">
<property display="primary" label="Name" name="name"/>
<property label="Number of people" name="numberOfPeople" type="integer"
checkif="numberOfPeople >= 5" checkifmessage="Number of people must be at least 5" />
</entity>
