Bug Tracker

Ticket #4052 (closed bug: invalid)

Opened 6 years ago

Last modified 5 years ago

[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

 http://nrzv.com/valid/

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

comment:1 Changed 5 years ago by dmethvin

  • Owner set to joern
  • Component changed from unfilled to plugin

comment:2 Changed 5 years ago by john

  • Status changed from new to closed
  • Resolution set to invalid

Please file plugin bugs with the appropriate author on their bug tracker.

Note: See TracTickets for help on using tickets.