Code before rules - InfoPath Dev
in

InfoPath Dev

Code before rules

Last post 09-04-2005 04:00 AM by mar. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-04-2005 03:13 AM

    • mar
    • Top 500 Contributor
    • Joined on 09-04-2005
    • Poland
    • Posts 37

    Code before rules

    hello,is there a way to run managed code before any rules?(tools, form options, open and save, rules button-i want my code before this rules...).I have my code in OnLoad event but still it is too late...
  • 09-04-2005 03:22 AM In reply to

    Hi Mar,
    Welcome to the Forum!
    There is no direct way do run code before Rules.
    But try this workaround and see if it works,
    Add an Form Open rule which changes a DOM's field value, add an OnAfterChange event to that DOM field and write your code in that method.

    If you try this please let me know if that works.


    Agni
    InfoPath Dev India
  • 09-04-2005 04:00 AM In reply to

    • mar
    • Top 500 Contributor
    • Joined on 09-04-2005
    • Poland
    • Posts 37
    Simply and beautyfull :) works great :)
    thanks
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.