How Nested dropdowns(Country-City-Town) can be used in add or edit dialog forms ?

QuestionsHow Nested dropdowns(Country-City-Town) can be used in add or edit dialog forms ?
toki asked 8 years ago

Hi Abu,

There are three dropdowns in add or edit dilaog form which called Country, City,Towns respectively.

When I select a county in county dropdown and the city dropdown will now be filtered based upon the selected country and with city dropdown to select a city and the town dropdown will now be filtered based upon the selected city.

I think Autofilter.php does not enought and solve this question.Please, Can you help that how can it be done?

Regards….

17 Answers
Abu Ghufran answered 8 years ago

Hello,

This feature is currently under development.
I'll be updating this ticket once ready.

toki answered 8 years ago

Hello Abu,

Can you also consider as related on selection of a dropdown

1.one of wanted field input could be hidden or visible,
2.one of wanted field text input value or text could be changed.

Thanks…

toki answered 8 years ago

Hi Abu,

$col["editoptions"] = array("onchange" => "YOUR-JS-CODE-FUNCTION");

I realized that with this above code, my second suggestion(2.one of wanted field text input value or text could be changed.) above is already works without any problem.

regards…

toki answered 8 years ago

Hi Abu,

for my second suggestion(1.one of wanted field input could be hidden or visible) below code works without any problem.

$col["editoptions"] = array("value"=> $client_lookup,"onchange"=>" if ( $nadi=='mk_id' || jQuery('#mk_id option:selected').text()=='Customer') { jQuery('#Car2').hide()} else { jQuery('#Car2').show()} ");

Sorry, for take your time.

Abu Ghufran answered 8 years ago

Hello,

The dependent dropdown feature is ready for beta now, and will be released soon.
If you can send me the php file and db dump, i can send you this function after integration.

Thanks.

Dignity answered 7 years ago

Hello,

I'm also have same trouble with nested dropdown, may you both give me advice.

Thanks

Abu Ghufran answered 7 years ago

The working sample is self-explanatory, however you can send me detailed query with screenshot for review.
Email at [email protected]

Richard Kooijman answered 7 years ago

Hi Abu,
I'm also interested in the dependent dropdown option.
Can I also receive a sample of it?
Thanks!
Br. Richard

Gandharv answered 7 years ago

Hi Abu,
I have to show cascading dropdownlist.
Can I also receive a sample of it?

Thanks
Gandharv

Abu Ghufran answered 7 years ago

@Richard, Sent you email.
@Gandharv, please send me you payment email as it is not registered. I'll then send you too.

edwardw answered 7 years ago

Hi Abu
Are the cascading dropdown lists included in the version I purchased? I didn't see any mention in the documentation or "How to.."

Thanks

Abu Ghufran answered 7 years ago

Updates emailed to you.

edwardw answered 7 years ago

Hi Abu
Thank you so much for emailing a sample. I've incorporated it into my grids and it works great! You're the best.

Edward

Andy answered 7 years ago

please send me this example

thanks!

Abu Ghufran answered 7 years ago

Sent (It's in update 1.4.9 – demos > appearence > dependent-dropdown)

Stefan answered 7 years ago

Please send me this example. I purchased Sept 2nd and received 1.4.8.3.
Is 1.4.9 out yet?

Abu Ghufran answered 7 years ago

Hi Stefan, Check your email.
Latest build sent.

Your Answer

15 + 13 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?