In the list below you can find listed all the predefined rules we've managed to implement in DNN API Endpoint module and their behavior:
When this rule is set on a field and the user fills in the field with an incorrect data, then the validation message, which you can put in the Message box, is displayed, informing the user that the date must be in the set in the correct format.
When the value inserted in the email address field is incorrect, the error message set in the message box should be displayed informing the user that the value inserted is not correct.
When this field is filled a text the error message set on the rule should be displayed informing the user that only numbers are allowed in the box.
When this field is filled with text, then the error message should be displayed in order to inform the user that only Integer numbers are allowed (negative numbers, 0, as well as positive numbers).
When special characters like "%" or "&" are added in this box, the validation message should be displayed informing the user that these characters are not allowed.
When this field is filled in with text with spaces between characters, the error message set in the validation message box should be displayed.
This field should allow only phone numbers in the format set on the field: "(###) ###-####" and other phone formats should not be allowed
This field allows only regular expressions on which the validation is made. To see how we tested this validation, please check the Input Data page.
This validation rule, ensures that the fields are mandatory
The validation will be made on the URL structure, so if you don't insert a correct web address in the field, then the validation will be made.
The validation should be made on the users which are already created and the warning message should be displayed when an existing user's email address is added in the field
The validation will be made when the field will be completed with existing username.