families --< families_variants >-- variants
family_name family_name variant_name
... variant_name ...
families_variants --< lines
line_id
family_name
variant_name
In the new 'lines' form, both popups now work. popup1 for "Family Name" field works, but popup2 families_variants (which does a popup1 for families first) then correctly gets the child value, and returns. It overwrites whatever was chosen previously in the "Family Name" field.
When "Family Name" (parent) is selected beforehand, then I want the "Variant Name" (popup2) to skip the launch of the popup1 (to choose the parent (family) again. This is the case #1 you describe here:
http://www.tonymarston.net/php-mysql/infrastructure-faq.html #faq79
Why doesn't the popup2 see that the parent has already been selected?
Thanks.