Default Value for lookup list using the registered member's data as the value

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
ikatikah
Posts: 6
Joined: 2017-02-02 04:05

Default Value for lookup list using the registered member's data as the value

Post by ikatikah » 2017-03-20 15:29

Hi,

I'm trying to make a lookup list where the default value will be defaulted to the user's data. In this case the user will register his state, area, and beach. And then I have this table where the user will have to choose from the lookup list in which where he is from to enter the data. I'm really at lost as to how am I going to modify, will be either in the table_name.php hook or the table_name-dv.js hook
lookuplist.png
This is how the lookup list is right now, and I am trying to make the state, area and beach lists to be defaulted by the user's data for his own state, area and beach.
lookuplist.png (6.99 KiB) Viewed 286 times
I hope the community can help me solve this problem.

Thanks in advance.

Post Reply