Buttons - InfoPath Dev
in

InfoPath Dev

Buttons

Last post 02-16-2006 08:31 AM by Agni Jonnalagadda. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-16-2006 02:38 AM

    Buttons

    Hi all,

    I have two buttons, one is a Submit button (OnSubmitRequest/custom coe) the other one is a button just using custom code (OnClick). I have no data connections. I would like to know if it is somehow possible to automatically press the second button when the first will be pressed.

    Thx

    Listen to Motörhead cos they play Rock'n Roll :)
    Listen to Motörhead cos they play Rock'n Roll :)
  • 02-16-2006 05:18 AM In reply to

    Just move the code in the second button into a common method. Then put that method into both OnSubmitRequest and OnClick.
    Jason
    http://www.k2distillery.com/
  • 02-16-2006 08:31 AM In reply to

    If you are not actually using "DocActionEvent e" of the button then you can call the btnEvent_OnClick(null).

    But yes if there are any rules on the second button they do not get executed.


    Agni
    INFOPATHdev India
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.