I think I got this part now . . . Just a couple of questions and then one more scenario.
var input = Tiggr('baseunit').val();
var from = Tiggr('convertfrom').val();
var to = Tiggr('convertto').val();
if (to == 'Feed'){
var total = input * 0.0833333333333333;
alert (input + " inches is "+ total + " feet" );
}
if ( to == 'Yards') {
var total = input * 0.0277777778;
alert (input + " inches is "+ total + " yard" );
I see that we are converting the "to" in the above lines. What if I need options to change "from" as well as "to"...
I think I will need several lines for this . . . would I need one for every possible combination? And have lines that read something like
if (to == 'Feed')(from == 'Yards'){
I am sorry I am being such a pest.