Prepare form before rendering elements.
Migrated import form.