Validation user description

Tell me how to use regular expression validation for example for the “user description” field so that he cannot write his phone number or email address, etc.?

And the same in correspondence in private messages?

Unfortunately, there is no simple solution, it requires advanced customization. As a possible solution it is possible to use these hooks:

hivepress/v1/forms/user_update/errors - for user description

hivepress/v1/forms/message_send/errors - for private messages

Here is more information about this hook type Filter: hivepress/v1/forms/{form_name}/errors | HivePress Hook Reference

If you are not familiar with code customization please consider hiring someone for custom work https://fwd.cx/hLhc73mQCD9R

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.