Welcome Guest, Not a member yet? Register   Sign In
RE-populating Dynamic Drop-downs
#2

[eluser]Sumon[/eluser]
Well, lets think, whats happen when you change first drop down. Call a function with this value and receive value(another list box).
okay now when validation failed then let us check select box appearance

Code:
if(isset($firstSelectBox))
{
  //call that url which generate another (region) list box.
}
now repeat this task for second select box as well.
Code:
if(isset($secondSelectBox))
{
  //load data/list box
}

For first load of the page these functions will not be called because there are no list/dropdown.

Hope form loaded with previous selected values.


Messages In This Thread
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 12:37 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 01:09 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 01:24 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 01:40 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 02:37 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 05:36 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 07:36 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 07:43 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 08:31 AM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 09:33 PM
RE-populating Dynamic Drop-downs - by El Forum - 09-17-2008, 10:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB