How do I use password custom fields to require a password to access my landing pages?

ActiveDEMAND has a special custom field type called 'password'. This custom field type allows you to create several password assets that can be used to password protect groups of landing pages. The password system allows you to set up registration pages, password reset forms, and account confirmation logic.

Note

The Password Custom Field type is only available in the Corporate Marketer package 

 

Creating a 'Membership Area'

You will need the following landing pages:

  1. Registration page (not required, recommended)
  2. Password Create page
  3. Login page
  4. Password reset request page
  5. Membership page(s)

 

Steps:

  1. Create your password custom field
  2. Create your 4 pages
  3. Edit your forms

Creating The Password Custom Field

In your account settings, scroll down to the Custom Field section of your account. 

mceclip0.png

 

Note

You can only create Contact password custom fields, not Organizations, Employees, or Brands.

 

mceclip1.png

 

mceclip2.png

The Password Options:

  1. Requires Confirmation: If checked, this will force the user to confirm the password before it can be used. The user can be sent an email with an 'account' confirmation link. The created password will not be used (i.e. the assets will be not available to the person until they confirm their login)
  2. Password Registration URL: This is the URL of the webpage/landing page that contains the 'account registration' form. This form will contain the 'Password Create' form elements.
  3. Login URL:  This is the URL of the webpage/landing page that contains the 'login' form. The login form is a form that has the 'Enter Password' form element. 

 

Note

If the Registration URL and Login URL are not set, attempts to access password-protected assets will redirect the user to your website.

 

The Registration Page

You can either create a 2 step process (a registration page, and a password create page), or just direct people to a single page that has the password create form fields

Regardless of the path you choose, you will need to create an asset registration page that users will be directed to when trying to password access protect assets (i.e. landing pages). You can either create a landing page or a webform that will act as your registration form. In the form editor, you will find a

  1. 'Create a Password' form element
  2. 'Confirm Password' form element (this confirms the password created with 'Create a Password'

mceclip4.png

 

Add the Create a Password (and optionally the Confirm Password) form elements to your form. Editing the properties of the form element allows you to choose the password custom field associated with this element.

mceclip5.png

 

In the autoresponder for the Password Create page, if you chose to 'require account confirmation' in the password custom field, you will need to create an email that sends the prospect an 'account confirmation' link. The password they created will not be 'activated' until the user clicks the link sent in the email. The dynamic field that you embed in your email will be available in the custom field selector:

 

mceclip9.png

 

Now you have the 'registration page'. Next, you will need to set up the login page. Again create a form or a landing page that will act as the 'login' page for registered users. On this form, you will use the 'Enter Password' form element

mceclip6.png

Make sure you set the custom field in this element is set to your password custom field.

 

Now that you have a registration page and a login page created, Go back to your password custom field in your account settings and set the login and password creation URLs.

 

Creating your Login Page

This is just a regular landing page with a form that includes the 'enter password' form element.

mceclip0.png

You will need an email address form element and the 'enter password' form element on the form.  If someone tries to access the protected page, they will be automatically redirected to the 'login' URL associated with the password custom field. After the user enters a valid password, they will automatically be directed to the asset they were trying to visit. 

For the case of a user saving the 'login' URL, it is important that the user experience is correct. Thus we recommend setting the redirect on the form to go to the protected asset. Thus if the person is successful in 'logging in', the asset will render. If the person is not successful, the protected asset will push the visitor back to the 'login' page.

mceclip1.png

 

Password Reset Page

For the situation where people forget their passwords, you will need to give them an option to reset the password. This is just a landing page with at least an email address form element. The magic here is done in the autoresponder. You may want to put in a decision checking to see if a password exists for the contact ... if it does, you send an email (in the autoresponder workflow) that contains a link (button or otherwise) that uses the dynamic term associated with your password custom field. It is of the form:

 

%CONTACT.CUSTOM_FIELDS(CUSTOM_143106).RESET_URL%

 

Membership Area: Protecting Assets With Your Password

For the landing page that you want to 'password protect', go to the page properties and choose 'Page is visible to 'Visitors with a valid password' option

mceclip10.png

And select that appropriate custom field to protect the page with:

mceclip11.png

 

Now anyone who tries to access this page without a valid password will be redirected to the 'login page'. You will want to put a link to the registration page on the login page to ensure visitors can register to get the asset.

 

 

Learn How To Create A Membership Area On Your Website

 

 

 

 

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.