Opened 12 years ago
Closed 11 years ago
#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@… |
Blocked by: | Blocking: |
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 (2)
comment:1 Changed 11 years ago by
Component: | unfilled → plugin |
---|---|
Owner: | set to joern |
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please file plugin bugs with the appropriate author on their bug tracker.