# registrationResult 'status' undefined

**URL:** <https://forum.wixstudio.com/t/registrationresult-status-undefined/1519>\
**Category:** Ask the community\
**Tags:** wix-forms, question, code\
**Created:** [April 17, 2022, 10:03pm UTC](https://forum.wixstudio.com/t/registrationresult-status-undefined/1519 "2022-04-17T22:03:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![river16](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/river16/32/27902_2.png) [@river16](https://forum.wixstudio.com/u/river16)\
**Post date:** [April 17, 2022, 10:03pm UTC](https://forum.wixstudio.com/t/registrationresult-status-undefined/1519/1 "2022-04-17T22:03:35Z")

</div>

I am trying to create a custom registration form.  
I have follwed the steps written in the documentation -

> **[Velo Tutorial: Creating a Custom Registration Form with Code | Help Center |...](https://support.wix.com/en/article/velo-tutorial-creating-a-custom-registration-form-with-code)**
>
> Visit the Velo by Wix website to onboard and continue learning.When you add membership functionality to your site, you receive a default form for registering si

and I dont understand why the form doesnt work, what is missing?

picture of the error that pops when I try to run the code:

 ![](https://us1.discourse-cdn.com/wix/original/3X/b/d/bd618ad3af93f6c220df6e4fde5ceba98606187c.png)

the forms UI:

 ![](https://us1.discourse-cdn.com/wix/original/3X/2/d/2d74e8a55f1b6a565a0d117c5ec18836892e5d3b.png)

the code:

 ![](https://us1.discourse-cdn.com/wix/original/3X/7/1/71fd764d49c72938ac5da49e1361ee1f8621253c.png)

Thanks in advance!
