A Registration Form in Blaize works as both a registration form and a login form. Registration forms can be created in minutes by choosing fields from your User Schema to display as form fields, alongside pre-created fields for an email address, password, and social sign in, if relevant.
How to Create a Registration Form
From the main left-hand side navigation menu, select UI > Forms. Then click Add Form.
Fill out the details on this page. Give your form a title and click the text to modify the slug if required.
Internal Description is an internal reference for the Administrator, whilst the Public Description is a WYSIWYG to add copy to the form, above the form fields, for the end-users to read.
Below this WYSIWYG, check the Registration/Login Form option.
Once checked, a section titled Authentication will display.
This section gives you the option to choose your User Authentication method, with options to authenticate by Password, Social Sign In, or by an Authentication Link sent via email.
To see the Authentication by Link option, you will need to set your instance of Zephr to require email verification. This setting is managed within your Identity Management settings.
The Authentication options for Password, Social Sign In, and Authentication Link by Email can all be used in conjunction with one another and will display in the order shown below.
Enabling Social Sign In will allow you to configure your form to allow Registration and Login via Facebook, Google, LinkedIn, and Microsoft. Read our OAuth2.0 guide to configure each option.
There is also an option to Allow Registration Codes for Account Membership. This will add a field to your Registration form for Users who have been given an access code for a Corporate Account. Find out how to use this in our Corporate Accounts guide.
Following your Authentication setup, it is time to add the fields for your form to display. Select the Add Fields button and any Available Fields previously added to your User Schema will be shown. Select the fields required by selecting the relevant Add button.
For each field you Add, a modal window will appear and allow you to set whether the field is required, as well as provide default values and placeholder text. Once you’ve added this, click Save Field.
Each field you have selected will now appear in a row within the Fields section where it can be Edited or Removed by clicking the appropriate button. You can also drag these fields to order them as you wish.
If Removed, a field will return to the Available Fields rows within the section below.
Under Form Style you have the option to choose the way your form display on a page. By default the Inline Form style is used. This form will replace the piece of feature content tagged by your Zephr tags.
The next option, Fixed Banner, fixes the form as a banner to the bottom of your page, so it is always in view when scrolling.
The final option, Custom, defaults to the Inline Banner style, but allows you to add custom CSS to the form, to style it how you choose.
Once you’ve chosen your style, click save.
This form will now be available as a Transformation within your Zephr Feature Rule Builder.
Note it is possible to use reCAPTCHA on Zephr Registration Forms. Read our reCAPTCHA guide to find out more.