Ticket #4052 (closed bug: invalid)
[validate] depens bug if you use load()
| Reported by: | tunga | Owned by: | joern |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | plugin | Version: | 1.3.1 |
| Keywords: | validate, require, depends, load | Cc: | mesut@… |
| Blocking: | Blocked by: |
Description
step 1 works well. on Step 2 there is a rule section like:
rules: {
secondSentDocumentsTo: {
required: { depends: "#secondPermanentAddress:filled" }
}
}
When you submit Step 1 and come on Step 2, even other validation(s) works, secondSentDocumentsTo depends section does not work.
its working if you access the page via: http://nrzv.com/valid/?s=2
Both of access type uses load() function to load pages
You can see the source via:
http://nrzv.com/valid/index.php http://nrzv.com/valid/1.php http://nrzv.com/valid/2.php
and the content of process.php is :
$("#myApplDiv").load("2.php");
P.S: http://nrzv.com/valid/?s=2 loads $("#myApplDiv").load("2.php"); into the index.php
Thanks Mesut TUNGA
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
