I have the following HTML form, which is being generated dynamically from a table in a MySQL database.
The following appeared to work for me: