Contents

searchField

Displays an interactive text field used to search for content.

Overview

The searchField element creates a text field for user input. Different keyboards can be used to provide the best input experience for the user. Here’s an example that presents a search field along with three movies.

<searchTemplate>
    <searchField/>
    <shelf>
        <header>
            <title>Popular</title>
        </header>
        <section>
            <lockup>
                <img src="path to images on your server/Car_Movie_250x375_A.png" width="182" height="274" />
                <title>Movie 1</title>
            </lockup>
            <lockup>
                <img src="path to images on your server/Car_Movie_250x375_B.png" width="182" height="274" />
                <title>Movie 2</title>
            </lockup>
            <lockup>
                <img src="path to images on your server/Car_Movie_250x375_C.png" width="182" height="274" />
                <title>Movie 3</title>
            </lockup>
        </section>
    </shelf>
</searchTemplate>

Contained In

Topics

Valid TVML Attributes

See Also

Multimedia Elements