Set autocomplete and autofocus.
Format the curve form.