Updated code example.
Updated html form