Skip to content

Members Sign Up Form

Pritpal Chauhan edited this page Aug 29, 2019 · 7 revisions

Description:

The member sign up form is displayed on the members page and allows users to sign up and become "Members". To view and export all members:

  1. Navigate to the "Flamingo" tab from the sidebar in the WordPress admin panel
  2. Click on the "Inbound Messages" subsection
  3. Select "Member Sign Up" from the channels dropdown and click "Filter"
  4. View all members or click "Export" to download an excel file with more information

For developers:

The template which displays the form is located at template-parts/member-sign-up.php. However, the majority of the form is generated with the Custom Form 7 plugin and the Flamingo plugin is used to store the responses in the WordPress database. To change the form, you will need to change the code from the Contact Form 7 plugin. The current code used to generate the form is:

<div class="row">
  <div class="col-12 col-md-6 d-flex align-content-between flex-wrap">
    <div class="form-group w-100">Name* [text* member-name class:form-control placeholder "Name (Ex. John Doe)"]</div>
    <div class="form-group w-100">Email* [email* email class:form-control placeholder "Email (Ex. [email protected])"]</div>
    <div class="form-group w-100">Phone Number [tel phone-number class:form-control placeholder "Phone (Ex. 123-456-7890)"]</div>
  </div>
  <div class="col-12 col-md-6">
    <div class="form-group">Message [textarea message class:form-control rows:8 placeholder "Message"]</div>
  </div>
  <div class="col-12">
    [submit class:btn class:btn-primary "Submit"]
  </div>
</div>

Mail

  • Subject
    New Member Sign Up from [member-name]
    
  • Additional Headers
    Reply-To: [email]
    
  • Message Body
    From: [member-name] <[email]> <[phone-number]>
    Subject: New Member Sign Up
    
    Message Body:
    [message]
    
    -- 
    This e-mail was sent from the general inquiry form on the Patients in Education website.
    

Additional Settings

flamingo_email: "[email]"
flamingo_name: "[member-name]"
flamingo_subject: "New Member Sign Up"

In order to get the form to display on the "Members" page:

  1. Import the Members Sign Up.json file into custom fields
  2. Go to the Members page and enable the "Member Sign Up Form"
  3. Enter the shortcode for the custom form 7. Ex [contact-form-7 id="299" title="Member Sign Up"]

General Documentation

Page Specific Documentation

Clone this wiki locally