hide/lock field when other lookup=NULL / empty?

This sub-forum is for discussing all topics related to AppGini Helper JavaScript Library, provided by bizzworxx as a third-party AppGini plugin.
Post Reply
User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts:1464
Joined: 2019-05-21 22:42
Location: Germany
Contact:

hide/lock field when other lookup=NULL / empty?

Post by onoehring » 2026-02-04 18:59

Hi Jan,

you show nice things here https://www.appgini.de/docs/Javascript- ... nable.html and https://www.appgini.de/docs/Javascript- ... n-out.html .
Is there a built in method that allows to hide/lock a field if another field has a specific value e.g. NULL:

I only want the user to be able to enter something in field B id he has entered something in field A (where A is a lookup).

Furthermore: If he enters something into field A he shall be forced as well to enter something in field B.

Any chance with the AGHelper?

Thanks
Olaf

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts:2027
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: hide/lock field when other lookup=NULL / empty?

Post by jsetzer » 2026-02-04 21:13

https://appgini.bizzworxx.de/appgini/ap ... p-changes/
Without having checked, I think you can use the onChange handler.
Kind regards,
Jan <js />

AppGini 26.12 + all AppGini Helper tools

My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI

My Company Website
www.bizzworxx.de

My AppGini Blog
appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability Image

Post Reply