Login Form Shortcode

Introduction

The Gravity Forms User Registration plug-in adds a couple of shortcode actions that extends the possibilities for your Gravity Forms shortcode. See also the article on the user information shortcode.

Shortcode Actions

login

Requires: User Registration Add-On.

Displays the login form.

Example

[[gravityform action="login" description="false" logged_in_message="Yay! You are logged in!" registration_link_text="Register for my super awesome site" forgot_password_text="Stop forgetting your password" /]]

Parameters

  • title
    If the form title should be displayed. Defaults to true.

  • description
    If the form title should be displayed. Defaults to false.

  • logged_in_avatar
    If the user avatar should display for logged in users. Defaults to true.

  • logged_in_message
    A message to display to users who are logged in.

  • login_redirect
    Defines a URL that the user should be redirected to after they have logged in.

  • logout_redirect
    Defines a URL that the user should be redirected to after they have logged out.

  • registration_link_display
    If the registration link should be displayed. Defaults to true.

  • registration_link_text
    The text to display within the registration link. Defaults to Register.

  • forgot_password_display
    If the Forgot Password link should be displayed. Defaults to true.

  • forgot_password_text
    The text to display within the Forgot Password link. Defaults to Forgot Password.

  • tabindex
    Defines a custom tabindex.