Skip to content
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

data-fv-container not working after I upgrade from version 0.8.1 to 2.4.0 #50

Open
mahfuz01-2023 opened this issue Jul 19, 2023 · 2 comments
Labels
question Further information is requested

Comments

@mahfuz01-2023
Copy link

I have recently upgraded the formValidation plugin for one of our .net core applications from 0.8.1 to 2.4.0.
We used data-fv-container attribute extensively throughout the application. But after the upgrade, the validation messages are not displaying in those containers.
Looking forward to your support

@phuocng
Copy link
Member

phuocng commented Jul 23, 2023

@mahfuz01-2023 Please take a look at this example
https://formvalidation.io/guide/examples/showing-messages-in-custom-area/

@phuocng phuocng added the question Further information is requested label Jul 23, 2023
@mahfuz01-2023
Copy link
Author

@phuocng thanks for the reference. But in 0.8.1 I could add that data-fv-container in a form element and the validation message would display in that container. and we used that attribute for about 70% of our form elements, but the rest 30% was used as an out-of-the-box validation container. with the newer version, do we have something similar to the data attribute? or do we need to configure it in the initialisation? if that is the only way, how can we mix and match these dynamically?

Thank you very much in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants