Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Code Block | ||
---|---|---|
| ||
{ regex_validation : '^[a-zA-Z0-9_]+$', validation_message : 'Invalid ID!!' } |
The following attributes are designed for all field type.
js_validation : Optional, Javascript function name in string format or a function.
Code Block | ||
---|---|---|
| ||
{
js_validation : 'functionName'
} |
Code Block | ||
---|---|---|
| ||
{
js_validation : function(fieldName, fieldValue) {
if (fieldValue.indexOf("#") > 0) {
return "Error! Value contains #";
}
return null;
}
} |
...