Preventing user to have same value as the placeholder

For instance, we could show an error message when someone enters First name or Last name for the text fields named firstName and lastName, respectively.

To do that, we create a custom validator following the signature as below:

Now, you can apply the created validator with multiple fields:

For this specific requirement, we also can use the callback validator:

Related validators

The following validators might be useful to you.