ExpressionEngine Docs

Member Search Form Tag

Overview

{exp:member:member_search}
    {form_declaration}
        <input type="text" name="search_keywords_1" />
        <select name='search_field_1' class='select' >
            <option value='screen_name'>Search Field</option>
            <option value='screen_name'>Screen Name</option>
            <option value='email'>Email Address</option>
            {custom_profile_field_options}
        </select>

        <select name='search_group_id' class='select' >
            {group_id_options}
        </select>

        <div class="itempadbig">&nbsp; <input type='submit' value='search' class='submit' /></div>
    </form>
{/exp:member:member_search}

Parameters

error_handling=

error_handling="inline"

Choose to display error messages inline . By default, errors are displayed with the user message template.

memberlist_url=

memberlist_url="member/memberlist"

return=

return="member/memberlist"

Form Variables

{form_declaration}

This is a required variable in order to use the search form. It creates the opening form tag.

{custom_profile_field_options}

Form Inputs

Search Keywords

<label for="search_keywords_1">Search</label>
<input type="text" name="search_keywords_1" />

Search Field

The field to search in.

        <select name='search_field_1' class='select' >
            <option value='screen_name'>Search Field</option>
            <option value='screen_name'>Screen Name</option>
            <option value='email'>Email Address</option>
            {custom_profile_field_options}
        </select>

Member Role

Limit search by member role.

        <select name='search_group_id' class='select' >
            {group_id_options}
        </select>