Side navigation
#4052 closed bug (invalid)
Opened February 03, 2009 01:28PM UTC
Closed February 05, 2010 08:30PM UTC
[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@tunga.com |
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:
Both of access type uses load() function to load pages
You can see the source via:
http://nrzv.com/valid/index.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