Code before rules - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » Code before rules Code before rules Last post 09-04-2005 04:00 AM by mar. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 09-04-2005 03:13 AM mar Joined on 09-04-2005 Poland Posts 37 Code before rules Reply Contact 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 Agni Jonnalagadda Joined on 12-15-2004 India Posts 617 Re: Code before rules Mark as Not AnswerMark as Answer... Reply Contact 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.AgniInfoPath Dev India Agni / http://www.ggktech.com 09-04-2005 04:00 AM In reply to mar Joined on 09-04-2005 Poland Posts 37 Re: Code before rules Mark as Not AnswerMark as Answer... Reply Contact 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.