Cannot get qRules working on a new template - InfoPath Dev
in

InfoPath Dev

Cannot get qRules working on a new template

Last post 07-06-2012 09:51 AM by Hilary Stoupa. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 07-06-2012 07:38 AM

    Cannot get qRules working on a new template

    I have quite a few templates that I have injected with qRules.  All seem to be working fine except for the latest template.  When I run a command and add the Success, Results and errors to the template, all of the fields are empty.  I tried using the same code on another template and it is working fine. 

     

    I have attached the template.  Trying to use the button at the top named button to perform a datediff on the eventstart and event end dates.

     

    Thanks in Advance!

  • 07-06-2012 08:15 AM In reply to

    Re: Cannot get qRules working on a new template

     Hi-

    It looks like the attached XSN has code. Is that intentional? 

    You cannot inject a form that has your own custom code. Please follow these special steps:

    http://www.infopathdev.com/files/folders/qrules/entry56111.aspx

    Thanks!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 07-06-2012 08:16 AM In reply to

    Re: Cannot get qRules working on a new template

    Looks like you may have accidentally added code to your form. Here's a copy with the code removed - reinject with qRules again and give it a try.

    Hilary Stoupa

  • 07-06-2012 08:26 AM In reply to

    Re: Cannot get qRules working on a new template

    Thanks  I will give it a try.. Not sure how custom code was added?
  • 07-06-2012 08:29 AM In reply to

    Re: Cannot get qRules working on a new template

    That did the trick.. Can you tell me what custome code was added or a thought on how it may have gotten in the template?  I have been working on this for almost a full day and am very releived that it is finally fixed.

     

    Thanks again for the great support!

  • 07-06-2012 09:51 AM In reply to

    Re: Cannot get qRules working on a new template

    Oh, InfoPath makes it SOOOOOOO easy to accidentally add custom code - you could have accidentally just clicked the wrong thing.

    So you know what to do if it happens again - Go to the Developer tab on the Ribbon and click the Language button. Then click the Remove Code button. Save & close and re-inject with qRules and you are back in business.

    Hilary Stoupa

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