Actions in Button

Actions in Button

  
Hi,
Is it Possible to implement two actions in a button.

for eg when i click my button i have to download pdf files at the same time i have to save data inside OS db.
Is there a way to do it.

Regards,
ChandrasekarRadhakrishnan
Hi,

You can do it in either of two ways, at least:

1. In the extended properties and by adding a second button ( with(style="display: none;") and with the Onclick of that button calling your second action). On your first button you add an extended property "Onclick" event (as property) and in the value javascript for clicking your second button (that calls your second action): document.getElementById(<your button reference>).click();

2. Create a user action that contains the logic you intended for your second action and then add it to the logic (action flow) of your first action. This way it runs first action, which contains your second action.
Hi,
Thanks for responding it was very helpfull.

Regards,
ChandrasekarRadhakrishnan