74
Hi Julian ...
It's been a long while since I last asked for your help. The Formulize & RegCodes modules have been the best. I am in the midst of adding some improvements to my website, but unfortunately I'm a bit stuck.
I noticed that the "Member Registration" form that was created in Formulize has a "Location" field (in the SQL Formulize DB is "Location" under ele_caption). I have just installed the Liaise module, and created a Contact Us form. It reads the default values of {NAME} and {EMAIL} properly, but not {USER_FROM}. I found out, apparently that the "user_from" field (in the SQL XOOPS User DB) is empty because the "Location" info is not written back into "user_from".
My question is, how do I create a short PHP command in the Liaise module that can fill in the default value of "Location" from the Formulize DB for the user that is currently logged in?
Your help will be very much appreciated. Thank you.
Regards,
Jason