What I am trying to achieve is to be able to automatically display some information of the contact within meeting module whenever a contact has been selected from the “relate to” field.
I have been able to pull through the data but just having issue when changing the contact. It should be automatically displayed/changed when selecting a contact.
Can anyone please give me an idea how to achieve this and in what file should I apply the code?
Here is an example of what the onclick of the selector would have for Users. You can see the call_back_function, which is set_return by default. So you could modify the onclick so that the call back function is something you specified. And you can modify the field to name array as well to get the fields you want.
I will also appreciate if you can specify the folder location of the files as I am lost in the moment. (really sorry to be a pain)
I am not sure if these files are located in /modules/{module_name}
Thank you in advance.
I really appreciate Simeon’s effort to discuss that I should need to override the callbacks for the SQS object, and the open_poup and then set these fields.
However, I am lost. I just can’t figure out in what file (and its location) should I be looking at.
These are both javascript which will appear on the page.
You need to modify the onclick of the selector to the open_popup code(with what you want in the parameters). You need to modify the current SQS object on the page so that the populate and required list meet what you need.