I need to update fields in editview when I choose via autocomplete or via popup window the Assigned User for the record in a custom module, I need to have the ID of User choosen and query to another module some field from the record with that ID.
Thanks
Have you tried an on-save workflow? Iβm not sure you can do all that, but itβs worth trying.
If you need extra power you can go for an after_save logic hook.
If you want it to happen on-screen, immediately, then you will have to inject some Javascript into the view to handle those events.
Use ajax request to view and the controller to process it
Can you post an example of code, please. Thank you very much.
I can only do it by Monday. Not at the computer right now. If I forget , please remind me .
Hey Eldraft,
Iβm looking for a similar result, I want to be able to get an Account ID after itβs selected by the user. Iβm not so much worried about it appearing on the screen before the page is saved. Are you still able to write that code?