altering form on submit with js

autocomplete still doesnt work

two forms work