Topic/enhance form validation

Was not aware of `util.format`. I will be using this from now on.