Page 1 of 1

Lookup Field - Add New Record?

Posted: 2014-09-11 09:59
by 7DaDo7
Is it possible to allow the addition of new records in the lookup field?
Thanks in advance.

Re: Lookup Field - Add New Record?

Posted: 2014-09-11 19:14
by a.gneady
Currently this is not supported but we plan to implement it in future releases.

Re: Lookup Field - Add New Record?

Posted: 2015-05-12 21:24
by jay007
Any update on this feature?

Re: Lookup Field - Add New Record?

Posted: 2015-05-13 15:18
by a.gneady
We've added this feature to the upcoming version (AppGini 5.40) ... we plan to release it within a few days. Stay tuned :)

Re: Lookup Field - Add New Record?

Posted: 2015-05-18 10:24
by jay007
Any update on the new version?

Re: Lookup Field - Add New Record?

Posted: 2015-05-19 21:59
by a.gneady
We've just released AppGini 5.40 now. I'll add the detailed change log in the forum within a few hours.

Re: Lookup Field - Add New Record?

Posted: 2015-12-23 16:55
by grimblefritz
Great. Sometimes.

Is there a way to turn this new feature off for a lookup in a table? I have three lookups in a table and I only want to have the "add new" capability on one of them, and not displayed at all for the other two.

Did I miss something, or is this not (yet) possible?

Re: Lookup Field - Add New Record?

Posted: 2015-12-23 20:32
by a.gneady
This is not yet an option, but we plan to include it in the next release, AppGini 5.51 ... possibly within 5-6 weeks.

Re: Lookup Field - Add New Record?

Posted: 2015-12-28 23:07
by precisiondi
I also need the ability to turn this feature off. Since it won't be available until the next release can you suggest a workaround?

Re: Lookup Field - Add New Record?

Posted: 2016-01-03 15:40
by a.gneady
I also need the ability to turn this feature off. Since it won't be available until the next release can you suggest a workaround?
In the hooks folder, create a file named "tablename-dv.js" (where tablename is the name of the concerned table) if it doesn't already exist and add this code to it:

Code: Select all

$j(function(){
    /* change 'customers' to the actual parent table name, and repeat this line for each parent table you where want to disable 'add new' button */
    $j('#customers_add_new').hide();
});

Re: Lookup Field - Add New Record?

Posted: 2016-01-20 11:27
by JEngels
Am I right: to add a new record from a lookup field (a "+" beside the field) doesn't work within a modal window but only in a "normal" one?
If so, is there a workaround?
Thanks
Koepi

Re: Lookup Field - Add New Record?

Posted: 2019-09-16 08:39
by D Oliveira
any updates on adding new records inside pop up lookups?