Shortcode: AJAX Registration Form

Introduction

Upon installation and activation, the Popup Maker AJAX Login Modals plugin extension registers three new shortcodes.  This article documents the AJAX Registration Form shortcode. Select the related article link in the right-hand column below to view documentation about the other 2 AJAX Modal shortcodes. 

Shortcode Name Shortcode Tag Related article
AJAX Login Form [pum_login_form] Shortcode: AJAX Login Form
AJAX Registration Form [pum_registration_form] ---------------------------------------------
AJAX Recovery Form [pum_recovery_form] Shortcode: AJAX Recovery Form 

Each shortcode is accessible within the Popup Editor 'Visual' tab from  the Popup Maker Shortcode Button.  Each shortcode tag and its attributes can also be added or edited within the Popup Editor 'Text' tab. 


AJAX Registration Form Shortcode | tag: '[pum_registration_form]'

This shortcode allows a plugin user to quickly add a registration form to a popup.

shortcode-registration-form.jpg

After selecting the AJAX Registration Form option from the Shortcode Button menu, work within the Popup Editor 'Visual' tab to edit the AJAX Login Form settings. This will set the shortcode attributes, which can be viewed and modified on the Popup Editor 'Text' tab. 

[ Back to Top ]

Table of Shortcode Attributes for [pum_registration_form]

The attributes within this table are keyed by the AJAX Registration Form settings box option tabs (screenshot above, and left table column below). The name of the attribute (when enabled) appears on the Popup Editor 'Text' tab. 

Settings
Box
Option Tab


Attribute


Purpose


Input


Comment
General enable_confirm_email
Adds a confirm email field & requires matching emails. Checkbox Default = 'unchecked'. Attribute displays on editor 'Text' tab when enabled.  
General enable_password
Adds a password field & requires users to enter their own password. Checkbox Default = 'unchecked'. Attribute displays on editor 'Text' tab when enabled.
General enable_confirm_password
Adds a confirm password field & requires matching passwords. Checkbox Default = 'unchecked'. Attribute displays on editor 'Text' tab when enabled.
General enable_recaptcha
Adds a Google ReCaptcha field to the form. Checkbox Default = 'unchecked'. Attribute displays on editor 'Text' tab when enabled.

[ Back to Top ]

Labels disable_labels
Disables the display of field labels. Checkbox Default = 'unchecked'. Attribute displays on editor 'Text' tab when enabled.
Labels label_username Label for the username field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Labels label_email Label for the email field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Labels label_confirm_email Label for the confirm email field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Labels label_password Label for the password field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Labels label_confirm_password Label for the confirm password field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Labels label_submit Label for the submit button. Text field Accepts any character string of letters, numbers, underscores and spaces.

[ Back to Top ]

Placeholders disable_placeholders Disables the display of field placeholders. Checkbox

Default = 'unchecked'.  Attribute displays on editor 'Text' tab when enabled. 
Placeholders placeholder_username Placeholder for the username field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Placeholders placeholder_email Placeholder for the email field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Placeholders placeholder_confirm_email Placeholder for the confirm email field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Placeholders placeholder_password Placeholder for the password field. Text field Accepts any character string of letters, numbers, underscores and spaces.
Placeholders placeholder_confirm_password Placeholder for the confirm password field. Text field Accepts any character string of letters, numbers, underscores and spaces.

[ Back to Top ]

Success enable_autologin User will be immediately logged in after successful registration. Checkbox Default = 'unchecked'.  Attribute displays on editor 'Text' tab when enabled. 
Success disable_redirect Disables refreshing the page or redirecting after login. Checkbox Default = 'unchecked'. Attribute displays on editor 'Text' tab when enabled. 
Success redirect Leave blank to refresh, or enter a url that users will be taken to after login. Text field Accepts any character string of letters, numbers, underscores and spaces.
Success autoclose Enables the auto closing of the popup after success. Checkbox 
Default = 'unchecked'. Attribute displays on editor 'Text' tab when enabled.
Success close_delay The time delay before the popup closes & redirection occurs. Range slider


Default value: 3000. Units: milliseconds (ms). Range: 0 - 10,000 ms. 

[ Back to Top ]