Avatar

Level 10

There were numerous syntax errors in the script as well as you shoudl never use a dash in a field name (it gets interpretted as a minus sign by javascript). I renamed the fields with dashes to underscore and fixed the code .....I think it works as you wanted .....see attached modified sample.

Paul