Page 1 of 1

How to get Cascade Dropdown or Lookup objects

Unread postPosted: Mon Jun 07, 2021 12:14 pm
by Casilat
How to get Cascade Dropdown or Lookup objects
How to get cascading Dropdown or Lookup objects such as selecting their country and then their province

Sorry my English, I speak spanish
blind

Re: How to get Cascade Dropdown or Lookup objects

Unread postPosted: Mon Jun 07, 2021 2:19 pm
by kev1n
Hi,

Is you question really for version 2? It's not supported anymore. Otherwise I'll move your topic to the v4.5 forum.

Re: How to get Cascade Dropdown or Lookup objects

Unread postPosted: Tue Jun 15, 2021 3:26 pm
by kev1n
Use a Hash Cookie in the in the “related” select object like

Code: Select all
SELECT something FROM `your_table` WHERE some_column= '#Select1_value#'


In your 1st select, refresh the 2nd one when the option has been changed like:

Code: Select all
nuRefreshSelectObject('select2_object_ID');


An example can be found in the Objects Demo, tab "Select".