WaspW
Wasp2y ago
abehod

How to change the order of fields in in signup page

Hello, I have added additional fields to signup form but all additional fields appear under the password and email fields, which I do not like and would like to change it:

       <SignupForm
        additionalFields={[
          {
            name: 'name',
            label: 'Name',
            type: 'input',
            validations: {

              required: 'Name is required',
            },
          },
          {
            name: 'companyName',
            label: 'Company Name',
            type: 'input',
            validations: {
              required: 'Company Name is required',
            },
          },
        ]}
      />


How can I do so the order o my fields would be:
1) name
2) email
3) company name
4) password

Thank you in advance!
Was this page helpful?