Welcome, guest Sign In

yml:form

Description

Creates a form that posts to a different Open Application view, which can either be loaded in a new page view or a DOM node. Any form controls inside the yml:form will be posted as params to the view.

Attributes

Name Type Required/Optional Description
view string optional Name of application view to link to. Allowed values are "YahooFullView" and "YahooSmallView".
params string optional Parameters to pass to the view being linked to. For "YahooFullView", the params string is appended to the URL that is requested.
name string optional The name of the form.
method string optional The HTTP method, for example, POST.
replace string optional The ID of a DOM node that will be replaced with the output of the view or params specified. The entire node is replaced.
insert string optional The ID of a DOM node where the contents will be substituted with the output of the view or params specified. Although the contents of the node are substituted, the node itself remains.

Examples

See also HTML Form in a Canvas View.

Table of Contents

Copyright © 2010 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy | Terms of Use

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions