expression in conditions - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

expression in conditions

Last post 02-28-2013 11:39 PM by bertrand82. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-27-2013 10:12 PM

    expression in conditions


    I need some help to put together an expression in a condition.

    I would like to disable my submit button if the sum of three fields are above 25.

    Is this possible?

    Thanks for all help.

    br Bertrand

  • 02-28-2013 07:13 AM In reply to

    Re: expression in conditions

    Hi - the first drop down for your condition won't let you select a formula. Usually, what I do is leave the first two drop downs in the condition at their default values, then change the third to "use a formula". In the formula builder, I create my formula (in your case, field1 + field2 + field3 > 25, with your actual fields, of course). Then, back in the condition, I change the first drop down to "the expression" which will display the entire XPath for the condition. It will probably start with "somefield = " and the rest will be your formula. Delete the "somefield =" and you should be good to go.
    Hilary Stoupa

  • 02-28-2013 11:39 PM In reply to

    Re: expression in conditions


    Thank you Hilary, worked perfectly!

     br Bertrand

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