-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate () of FormField #2237
Comments
There is information for validation in the documentation. |
I am ain't getting it exactly. How we will use? |
Below is an example implementation if you would like to validate that the user is entering a valid color. Any entry that doesn't match in the if statement would return None.
|
Okay thanks, will try and get back to you if I face any issues further |
Pardon for duplicating the same question. I think, this is a better place. |
@Egalite123 Yes, in that case you can create the class in the directory you would like to use it, and import it when necessary. There is no requirement for adding files to the core code. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please create a new issue if you need more help. |
Rasa Core version: 0.9.3
Python version: 3.5
Operating system: Windows 10
Issue: How to use validate() of FormField ?
The text was updated successfully, but these errors were encountered: