Default Lookup Value on Cascading Dropdowns

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
thecomputerchap
Veteran Member
Posts: 47
Joined: 2016-08-28 10:37

Default Lookup Value on Cascading Dropdowns

Post by thecomputerchap » 2017-02-01 14:14

Hi all,

I'm a bit stuck here. I have a cascading pulldown working on my page...

Pulldown 1 = Status. Values are 'Active' and Inactive'.

Pulldown 2 = Member. This currently pulls records from the 'members' table based on the status using pulldown 1. So as an example, selecting 'Active' on pulldown 1 filters the members on pulldown 2 to show active ones only. This works great using the 'Filter By' option in AppGini.

What I need to do is set the default of pulldown 1 so it is 'Active' when the page first loads instead of the '<None>' option so that pulldown 2 shows the active members by default without having to manually select pulldown 1 first.

I've tried using JQuery in the members-dv.js file but it's just not having it.

Can anyone please kindly help?

Bertv
Veteran Member
Posts: 65
Joined: 2013-12-11 15:59

Re: Default Lookup Value on Cascading Dropdowns

Post by Bertv » 2017-02-02 11:27

Did you try the default value in AppGini for the pulldown field 1?
Bert
I am using Appgini 5.75

Post Reply