Login/Lookup Page Builder
Last modified by Admin on 2021/02/10 15:16
The ONEcount system provides the option to present site visitors with a Lookup/Login page upon clicking on a form link, login link, or protected resource. The following lesson provides detail on enabling and/or overriding the Login/Lookup page functionality.
General Lookup/Login Functionality
When presented with the Lookup/Login form the user has two options:
- If a subscribed/registered user, the user may enter his/her username and password in the Login section (left-hand side) of the page. (If the user doesn't remember his/her username or password, he/she may click on the Forgot Your Password? link to obtain them.)
- Look up his/her record by entering requested information in the Lookup section (right-hand side) of the page.
If the user is in the database and was directed to the Lookup/Login page by:
- clicking on a link to a form, he/she will be directed to that pre-populated form;
- clicking on a protected resource (e.g. a restricted page, file, etc.) and is already subscribed to the product that grants access to the resource, he/she will be directed to the protected resource;
- clicking on a protected resource (e.g. a restricted page, file, etc.) and is not subscribed to that product, he/she will be presented with a pre-populated subscription/registration form.
If the user is NOT in the database, he/she will be presented with a text message and "Register – It's Easy" button, as shown in the screenshot below. (The text in this pop-up is configurable by GCN. Simply let GCN know what you'd like the message and button text to say.)
BUILD YOUR LOGIN/LOOKUP FORM:
- Select INVENTORY from the main menu.
- Select "Login/Lookup" from the sub-menu.
- This will open the window as shown below.
- Click on Create Login/Lookup Form button shown in above screenshot, then you will be redirected to Definition tab as shown in below screenshot.
In the form in this tab you will have to fill the following:
- Title: This is the title that will be used to view form in the list.
- Brand: This is select type where you will be shown the options of BRAND that you have created in the Brand section. Header and footer for the login form will be displayed using this BRAND.
- Description: This is description for form.
- Activate: DONOT ON THIS BUTTON TO YES NOW. WE HAVE TO DO IT AFTER WE PREVIEW THE FORM. Instructions to activate form will be mentioned in this documentation later on.
- After filling the details in this form then click on the lookup form tab shown in the below screenshot.
- Once you click on the tab then you will be redirected to the lookup form. In this you will be having few sections to fill it starts with demographics.
- As show in above screenshot you can select the questions from the demographics that you have created in the demographics section.
- You can use Add button shown in above screenshot to add more number of demos. As shown in below screenshot you can select the questions of any type.
- Once you select the questions for lookup form next section is configurations that you will see if you scroll down in the same form.
- Now in the section marked in the below picture you will have to fill the lookup form configs like
- Look Up Form Title: This will be used as the title on the lookup tab.
- Multiple User Found While Lookup Text: We will be displaying this text as error when multiple users are found in lookup
- User Not Found While Lookup Text: We will be displaying this text as error when user is not found in lookup.
- Contact Admin Text for Lookup: This we used to display when you want to display contact admin msg.
- Text for lookup button: This text will be used as label for lookup button.
- Text for register button on lookup Form: This text will be used as register button label.
- Once you select the config for lookup form next section is the Form color section that you will see if you scroll down the form further.
- Now in the section marked in above screenshot you will have to select the colors for the following. (* THESE COLORS ARE APPLIED TO BOTH LOGIN AND LOOKUP FORMS).
- Background color for the lookup-login template: This color will be applied to whole template as shown in below picture.
- Text color for the lookup-login template: This color will be applied to all the text on the login and lookup forms as shown in below forms.
- Error text color: This color will be applied to all the errors that will be displayed as shown in below screenshot.
- In above picture black is background color, text color is white and error text.
- In above screenshot 1 is the lookup form title and 2 is the lookup button and "LOOK UP" is text on the button that we have filled in the form and as you can see black is applied to background and white to text those are colors which we did choose for this example.
- Register button will appear on failed lookup.
- Once color section is done and we further scroll down then we will see the redirect form section.
- We will have 2 select question here success redirect and failed redirect.
Success redirect has 3 options:
- FORM: If you select FORM, you will be asked to select the form from the list of forms that you have created using embedded forms or form builder and on successful lookup you will be redirected to that form.
- URL: If you select URL you will be asked to enter URL as show below and on successful lookup you will be redirected to that URL.
- BACK: If you select BACK on successful lookup it will return back to the previous page.
- Now you have to select the failed redirect options. You have 4 option:
- FORM: If you select FORM, you will be asked to select the form from the list of forms that you have created using embedded forms or form builder and on failed lookup you will be redirected to that form when you click on register button.
- URL: If you select URL you will be asked to enter URL as show below and on failed lookup you will be redirected to that URL when you press register button
- BACK: If you select BACK, on failed lookup it will return back to the previous page.
- No Action: It will just show error, you will not see register button on failed lookup if you select No Action
- After filling the details in this form then click on the login form tab shown in the below screenshot.
- Once you click on the tab then you will be redirected to the login form. In this you will be having few sections to fill it starts with demographics.
- You will be asked to create demos from email, username and password as shown below.
- First select username or email as first demo then select password as second demo.
- Now in the section marked in the below picture you will have to fill the login form configs like
- Login Form Title: This will be used as title on the login form tab.
- Text for login button: This text is used for the label of login button.
- Text for register button on login Form: This text is used for the label of Register button.
- Now same as in lookup form you will be asked to select Success redirect and failed redirect.
- Next section of login form is social login as shown in below screenshot if you want to use particular social login you can click button to YES which is beside that particular social login provider as shown in below screenshot.
- If you see the error text as shown in below screenshot then you have to create IDENTIFIER in demos, you can do it after saving this form.
- Only social login providers you select will be shown on the form.
- As shown in above screenshot 1 is login Form title, 3 is selected demo questions set, 2 is login button and text and 4 is social login provider icons.
- Register button will appear on failed login
- Once you fill all the forms then hit save button and you will be redirected to below window shown in below screenshot then click eye icon shown in below screenshot to preview the form.
- If you click the preview button you will be redirected to login form where you can preview and test its functionality.
- If everything is as expected and want this new form as default login form, then click edit button on the screen shown in above screenshot this will take you to window shown in below screenshot then ON the Activate Button to YES as shown in below Screenshot. This will make your form as default login/lookup form.