Get field value before insert in table

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
tchristophe
Posts: 6
Joined: 2019-10-22 14:13

Get field value before insert in table

Post by tchristophe » 2024-02-15 21:09

Hello,

I have a form with text fields.
I want to get the value of this fields in $variables before their are posted in the database.
Same question question for droplist fields...
Thank you for your ides's, help, suggest, etc.
(:-)
Christophe

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

Re: Get field value before insert in table

Post by jsetzer » 2024-02-15 21:12

Check out my post here:
viewtopic.php?p=22169#p22170

There you will see how to get form's data (and also current database data) in PHP before save.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

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

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply