Help get this topic noticed by sharing it on Twitter, Facebook, or email.

show/hide Actions via Context Fields in When Client Script

I have a parent child tables setup so that the grid of the child is visible on the parent's edit form.

I want to limit the user's ability to create new children records if the parent record is not in the correct status.

I attempted to pass a Context field to the child table but it's not being picked up by the When Client Script field of the Action.

to test the context is being passed to the child view, I created a test action in the child controller that shows an alert with the value of the context field and that works fine.
1 person has
this question