I posted this once a few minutes ago, but I got a blank page back so I hope it's not a repeat question. I'm creating a form for a new policy at our agency that will allow the purchase of non-restricted airfares rather than government fares. The restricted fares can only be purchased if the cost savings on the restricted ticket is at least 25% of the total cost of the government fare. With me so far?
My boss wants the form to have a section that says, "Does the restricted fare meet the 25% rule?" and automatically display Yes or No based on the amounts for each ticket. I have created 4 fields so far: Government fare cost, restricted fare cost, savings to government, and 25% of government fare. The last two populate automatically based on the ticket costs. I created another text box to show the Yes or No value. I edited the properties and created 2 rules for the box: 1) If the savings is greater than or equal to the amount in the percentage field, display YES; and 2) If the savings is less than the amount in the percentage field, display NO. The action for the rule reads, Set a field's value: .="YES"
I want the field to be read only, and automatically fill in. However, it doesn't populate automatically. Only if I turn off the read only option and type junk text in there does it fill in. If I change the values for the ticket costs, it doesn't update either.
Can anyone help me solve this problem? Thanks in advance for any help!