How (jquery?): set cascading lookup child to NULL/empty when parent is changed?

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 541
Joined: 2019-05-21 22:42
Contact:

How (jquery?): set cascading lookup child to NULL/empty when parent is changed?

Post by onoehring » 2019-07-30 10:03

Hi

I reported something that I understand as a bug ( viewtopic.php?f=11&t=3162 ).
As lookups and cascading lookups (screencast: https://bigprof.com/appgini/screencasts ... th-appgini ) make use of ajax, I am looking for a way, that when the parent lookup is changed to another value, the child lookup (in a cascading lookup setup) is reset to NULL (empty), so the user is forced to select a new one from the (because cascading) generated list.

Is there an easy way to do this?

Olaf
Some postings I was involved, you might find useful:
Backup your database (viewtopic.php?f=4&t=3341); Improve security (viewtopic.php?f=4&t=3168); Field Permissions (viewtopic.php?f=4&t=3308); Custom (error) message (viewtopic.php?f=7&t=1740&p=10871#p10906); Audit Log (viewtopic.php?f=4&t=1369&p=10407); Two Factor Authentication (viewtopic.php?f=7&t=3306&p=11478); Add 2nd SAVE CHANGES button (viewtopic.php?f=2&t=3242&p=11104); Place a search on details view (viewtopic.php?f=2&t=3479&p=12484#p12484); Column-Value-Based-Permissions (viewtopic.php?f=4&t=3498)

Post Reply