Using Member Information in fields

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
trumedio
Posts: 5
Joined: 2015-04-12 21:03

Using Member Information in fields

Post by trumedio » 2015-04-12 21:05

I have created a table and want to populate some fields (name, email) with information that the member entered when they signed up. Can anyone help with this problem.

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

Re: Using Member Information in fields

Post by a.gneady » 2015-04-15 08:11

If the concerned fields are not read-only, you can use the before_insert hook to do this. Please refer to the following pages:

To get member info, use the getMemberInfo() function, explained at: http://bigprof.com/appgini/help/working ... memberInfo

To populate some fields with member info, use the before_insert hook: http://bigprof.com/appgini/help/advance ... ore_insert
: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.

trumedio
Posts: 5
Joined: 2015-04-12 21:03

Re: Using Member Information in fields

Post by trumedio » 2015-04-16 01:02

Thanks. Thats excellent.

Post Reply