How to have two actions on the same event?

Question:

I want to have two actions executed on a field’s down event.

Answer:

You can actually chain actions. The following code should help you.

Obj after_action_dict = widget_annot.GetSDFObj().PutDict("AA"); after_action_dict.Put("D", your_action.GetSDFObj()); your_action.GetSDFObj().Put("Next", your_next_action.GetSDFObj()); // if you want to chain additional actions, you can also put an Array object under the "Next" key, and push back actions in the order you want. // That is "Next" can either point to a single Action dictionary, or an Array containing multiple Action dictionaries (which in turn can each nest further)

This post might also be helpful.
https://groups.google.com/d/msg/pdfnet-sdk/paxWU9zDdO8/zz2XePQ_6foJ