Hi folks,
I have two custom Entities related to the Contact Entity:
- Training
- Training Need
Both of these appear on the Contact Form as sub-grids. I have a plugin that runs on the Create message for the Training Entity, which checks to see whether the Training added is meeting a Training Need, and if so it deactivates the corresponding Training Need. The plugin runs fine but the Training Need sub-grid doesn't update (refresh) automatically when adding the Training.
Can anyone think of a way around this? I know that the plugin can't refresh the form and I probably can with Javascript but I'd need to somehow call the Javascript once the plugin has stopped running; or is there another way?
Thanks in advance!
Matt
*This post is locked for comments