Property 'then' does not exist on type 'Element' in Wix error. HELP!!!!

Additionally, what I am trying to do is to ensure that the 2 custom fields on my members’ registration form are required, and that those fields save the information into the Contacts List. Any help would be greatly appreciated.