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
ActiveForm -> client validation does not work with AJAX rendering #4768
Comments
Submit button must be before , in html code before , if you use modal windows you submit button , may be after the tag |
I guess problem is |
Hi guys, I find out the problem this is not due to preload (but may be can check later). but its due to form ID which is duplicated. Please use this code.
this will solve duplicate id on html document. |
You mean one should set ID manually in this case? |
Yes. because main page also have id is w0 now in javascript first w0 get selected that might not be a form so validation will not worked. I have just work around and have this problem, which rectified by this solution. you may verify. |
Ah, then I think it should be mentioned somewhere already. I'll check it. |
Thanks for finding it out. |
you welcome. |
+1 |
what's the status of this issue, especially the problem with id conflicts mentioned by @mithun12000 ? |
Hello, I am currently presenting the same problem and I could not even solve this, if anyone knows how to solve this problem and is kind enough to Share. |
hola, actualmente estoy presentando el mismo problema y aun no e podido solventarlo, si alguien sabe como solventar ese problema y es tan amable de compartilo. |
validating unique values it is rendered and performed but misses the modal |
al validar valores únicos la misma se renderiza y lo efectúa pero se pierde el modal |
mithun12000 , Thanks alot your solution worked nice 👍 |
@Curso-programacion I am not working on this issue. @rezasys2 you welcome. |
seems to be solved. |
I've some code:
CONTROLLER:
index VIEW
candidate VIEW
rendered HTML
So, no client no ajax validations does not work.
The text was updated successfully, but these errors were encountered: