Total Field Validation - InfoPath Dev
in

InfoPath Dev

Total Field Validation

Last post 09-28-2011 12:28 PM by tafavorite. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-28-2011 11:12 AM

    Total Field Validation

    My problem here now is that I cannot get the fields to validate correctly. I have attached a sample of what I am dealing with. But, here is what the process/problem is:

    Users enter in total cost. Then they choose $ or %. The three fields below then show either the field that is formated as dollar or the field as percent.

    Then I have two hidden fields that add together the 3 fields to get a total (one for dollar and one for pecents).

    So what needs to happen, is that if the user enters in total cost, the 3 dollar fields need to total that and cannot go over or under.

    If user selects percents, the three fields have to equal 100%. The problem is that users do not have to enter all 3. They could enter only one or all 3.

    Thank you in advance.

  • 09-28-2011 12:06 PM In reply to

    How's this?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 09-28-2011 12:28 PM In reply to

    Better, but I was wanting to alert users that the number has not been hit yet, becuase they will not see that total field. Like, have the validation show an error message to users that the 1 or 3 fields have not equaled 100% or are not equal to the Total cost field.

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