Restored functionality of form submission

Also made the input placeholder dynamic