Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Form field validation plugin

Modified on Mon, 17 Jul, 2023 at 8:56 AM

Interface IPluginValidationRule


Uses

  • Interface to provide own validation rules for selection in the designer.


Method signatures

The plugin interface IPluginValidationRule references all methods provided by the Base interface IFCPlugin
and additionally the following plugin-specific method signatures:


public String getKey()

Key which is used to uniquely determine the validation rule.


String getKeyDisplayName(Locale loc)

Method to retrieve the name of the validation rule for display in the FORMCYCLE designer. Language-dependent names can be returned through the Locale object passed.

String getRegex()

The regular expression to apply for validation.

String getValidationErrorMsg(Locale loc)

Method to provide a message in case of validation errors. Language-dependent messages can be returned through the Locale object passed.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article