Hi and thanks in advance for any info.
I have a lookup field named com and it has 3 values value1, value2, value3.
What i want to do is when the user selects value1 i want to make viible the field1aa and let him update it but if the user selects value2 i want to saw him the field field2aa and not the field1aa.
Is this possible ?
A little example if its possible please (noob here trying hard...)
Thank you again
Show a field depending from a value in a lookup field
-
- Posts: 11
- Joined: 2013-11-28 21:00
Re: Show a field depending from a value in a lookup field
can be done using javascript (you can create a file in the generated "hooks" folder named "tablename-dv.js" (where tablename is the name of the concerned table) and add the javascript code to it .. it would be executed when the detail view is displayed ... I'll try to post an example code for your request within a few days.

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
-
- Posts: 26
- Joined: 2014-05-01 12:57
Re: Show a field depending from a value in a lookup field
Any update on this type of setup? This is also something I would find useful. As of now the auto-fill lookup fields work well enough, but I would like to also like to provide the user with some secondary choices based on the selections from an above field.