So you attach cssclasses to them and say one of them is a150 another is a250 and another is a500. Then you just add these catches into the code. As long as your css classes are on the fields, then the js should handle the rest if you handle those if statements.