Override validations where field are not required if all blank

HTML5 blocks the form from saving even though these are only required
when all fields are present

Use the id as field names have * if they are required

Fix autocomplete.js