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.