Formula runs differently in preview to published form - InfoPath Dev
in

InfoPath Dev

Formula runs differently in preview to published form

Last post 01-29-2015 05:12 PM by Thicko. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-20-2015 03:14 PM

    • Thicko
    • Not Ranked
    • Joined on 01-20-2015
    • Posts 3

    Formula runs differently in preview to published form

    I have a button on an infopath form with a simple formula that adds 1 to the current value of a textbox.

     my:Combur3 + 1

     In the infopath preview mode this works fine.

    Once published to a webform this button adds multiples of 2. I've tried the field format as both an integer and as a string but doesn't make a difference.

    I can't understand or change this and I hope somebody can help.

     Many Thanks

  • 01-23-2015 07:18 PM In reply to

    Re: Formula runs differently in preview to published form

    That seems very strange. Can you check the postback settings on the button? Right click the button and under the properties, check the browser tab. Perhaps try setting postback to "always" and see if that helps?

    Hilary Stoupa

  • 01-29-2015 05:12 PM In reply to

    • Thicko
    • Not Ranked
    • Joined on 01-20-2015
    • Posts 3

    Re: Formula runs differently in preview to published form

     Thanks for looking at this.

     I've been able to fix the problem now. For reference it was a issue with different views. We had one view which we copied to a second then added some content. In infopath it recognised the difference, as a webpage it was running the formula twice.

     Thicko.

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