Hello everyone - I just started using Infopath 2013 a week ago. I am the process of preparing a request form in Infopath which was already prepared in Excel. However, I am having a hard time writing the rule which was easily accomplished using Excel. I am not a computer programmer, am a Chemistry major so please dumb down your response for me to understand.
My form has 5 fields -
1. Total score
2. Alignment
3. Profit Margin
4. Production Support
5. Material Obsolescence
Fields 2 thru 5 are assigned different scores (0,2,5,10) based on the Project nature. In Excel, I had the formula as follows -
IF(OR(F43=0,L40=0),0, SUM(F40:43,L40:43))
In other words, the total score should read the sum of alignment (0-10), profit margin (0-10, production support (0-10) and material obsolescence (0-10).
However, here's the caveat - if alignment is scored a 0 OR material obsolescence is scored 0, the total project score reads a 0 irrespective of what scores are assigned to profit margin or production support.
In Infopath, I already carried out the following under RULES for the total project score field -
New -> Action (not Validation or Formatting)
Condition -> alignment is equal to 0 or obsolescence is equal to 0
Run these actions -> Action : Set a field's value / Field : totalprojectscore / Value : 0
New -> Action
Condition -> else -> alignment not equal to zero or obsolescence not equal to zero
Run these actions -> Action : Set a field's value / Field : total project score / Value : sum(alignment | margin | support | obsolescence)
For the life of me, I don't understand why I don't see any number in the total project score field?
Any InfoPath experts out there - Can you please help?
Thanks in advance
- Sachin
Can any InfoPath expert out there guide me to get started?