Page 1 of 1

Default Lookup Value on Cascading Dropdowns

Posted: 2017-02-01 14:14
by thecomputerchap
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?

Re: Default Lookup Value on Cascading Dropdowns

Posted: 2017-02-02 11:27
by Bertv
Did you try the default value in AppGini for the pulldown field 1?