Tried to add js to stop posting without required fields. Isn't working yet.