Replace %v with field value

Added replace of %v with value in field.js.