I'm trying to present a view on the iPhone which asks a user for any 2 of 3 values and using them to calculate the third value. I'm struggling a bit with the usability.
One option is to have three rows each with a label, textfield and button. Whichever row the tapped button is on is the value that will be calculated. I'm not terribly fond of that approach as it clutters the view with two many buttons.
I'd like to be able to use one button which would be doable if the user only ever entered 2 values. I could calc the empty value.
Another scenario would be to automatically clear out the third text field so it's always empty. (for example, enter Value 1, enter Value 2, clear Value 3, tap button and value 3 would be calculated) I think that users would struggle with having text fields cleared out like that.
Can any usability experts provide a nicer solution?