Hi,
I wanna control the field edit ability by using js magic file.
How to access $memberInfo array in the javascripts???
Thanks in advance!!!1
Aaron
Re: accessing $memberInfo in javascripts file
Re: Re: accessing $memberInfo in javascripts file
$memberInfo array is accessible only server-side, while the JavaScript magic files run on the client-side ... So, you need to create a server-side PHP script to retrieve the array, and you can then access it via an Ajax request from the JavaScript file.

- 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
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.