Lookup Field - Add New Record?

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
7DaDo7
Posts: 1
Joined: 2014-09-11 09:54

Lookup Field - Add New Record?

Post by 7DaDo7 » 2014-09-11 09:59

Is it possible to allow the addition of new records in the lookup field?
Thanks in advance.

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Lookup Field - Add New Record?

Post by a.gneady » 2014-09-11 19:14

Currently this is not supported but we plan to implement it in future releases.
:idea: AppGini plugins to add more power to your apps:
  • 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
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

jay007
Posts: 17
Joined: 2015-04-29 18:28

Re: Lookup Field - Add New Record?

Post by jay007 » 2015-05-12 21:24

Any update on this feature?

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Lookup Field - Add New Record?

Post by a.gneady » 2015-05-13 15:18

We've added this feature to the upcoming version (AppGini 5.40) ... we plan to release it within a few days. Stay tuned :)
:idea: AppGini plugins to add more power to your apps:
  • 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
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

jay007
Posts: 17
Joined: 2015-04-29 18:28

Re: Lookup Field - Add New Record?

Post by jay007 » 2015-05-18 10:24

Any update on the new version?

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Lookup Field - Add New Record?

Post by a.gneady » 2015-05-19 21:59

We've just released AppGini 5.40 now. I'll add the detailed change log in the forum within a few hours.
:idea: AppGini plugins to add more power to your apps:
  • 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
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

grimblefritz
AppGini Super Hero
AppGini Super Hero
Posts: 336
Joined: 2015-12-23 16:52

Re: Lookup Field - Add New Record?

Post by grimblefritz » 2015-12-23 16:55

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?

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Lookup Field - Add New Record?

Post by a.gneady » 2015-12-23 20:32

This is not yet an option, but we plan to include it in the next release, AppGini 5.51 ... possibly within 5-6 weeks.
:idea: AppGini plugins to add more power to your apps:
  • 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
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

precisiondi
Posts: 5
Joined: 2015-12-19 19:39

Re: Lookup Field - Add New Record?

Post by precisiondi » 2015-12-28 23:07

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?

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Lookup Field - Add New Record?

Post by a.gneady » 2016-01-03 15:40

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();
});
:idea: AppGini plugins to add more power to your apps:
  • 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
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

JEngels
Posts: 17
Joined: 2014-03-10 14:16
Location: Germany

Re: Lookup Field - Add New Record?

Post by JEngels » 2016-01-20 11:27

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

User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 347
Joined: 2018-03-04 09:30
Location: David

Re: Lookup Field - Add New Record?

Post by D Oliveira » 2019-09-16 08:39

any updates on adding new records inside pop up lookups?

Post Reply