My problem is: I need a custom “validation” message when a user enters specific terms into a field. However, the message has only informative character - therefore the user should be able to continue with the form despite the error (in contrary to classic gform_field_validation).
Can I use the gform_field_validation function or is there a better option?
Gform_field_validation is probably not the correct method, because that will prevent the submission from going forward.
Can you use an HTML field with your message, and use conditional logic to show that when specific terms are entered into the previous field? That would be informative only and not prevent submission.
However, I struggle with the conditional logic function. For example: My HTML form should be visible, if the user enters “cat”. The easiest way to make sure that the HTML is visible only in this case is adding two conditions (one with " cat" and "cat "; blank space before and after the word). My gravity form auto-delets the blank space if I click on save. Therefore my HTML form is also visible for entries such as “Catherine” or “Mercators” . Any ideas to solve this?