This topic is locked

Dependent drop - down with default [Built 255]

5/17/2007 5:09:06 PM
PHPRunner General questions
S
seldon author

I select default values like in manual "Speed up data entry using events"
don't work <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=5266&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />

Sergey Kornilov admin 5/17/2007

What default values you use there?

S
seldon author 5/17/2007

What default values you use there?


This on before add to set session values.
$_SESSION["Attivita1"]= $values["Attivita"];

$_SESSION["SAttivita1"]= $values["sattivita"];
I assigned this values as default in add page to 2 lookup dependent dropdown
When i add new record only main dropdown have the default value.

Dependent dropdown haven't any value.
I must select another main and reselect the default , after show the values of dependent dropdown.

Sergey Kornilov admin 5/18/2007

Thanks for clarification, I'll take a look.

C
ccuser 8/24/2007



This on before add to set session values.
$_SESSION["Attivita1"]= $values["Attivita"];

$_SESSION["SAttivita1"]= $values["sattivita"];
I assigned this values as default in add page to 2 lookup dependent dropdown
When i add new record only main dropdown have the default value.

Dependent dropdown haven't any value.
I must select another main and reselect the default , after show the values of dependent dropdown.


Has anyone found a way around this?