*/ $sections['Renderer'] = array( 'descr' => 'These examples show how to use renderers to control the layout of your form and form elements', 'basename' => 'example_renderer_', 'pages' => array( 'array' => array( 'state' => 'Stable', 'title' => 'Array', 'descr' => 'Renders a form into an array containing the serialized elements along with their attributes.', ), 'string' => array( 'state' => 'Stable', 'title' => 'String', 'descr' => 'Renders a form using a template with placeholders to place the serialized elements freely.', 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.html', ), ), ), 'string_errors' => array( 'state' => 'Stable', 'title' => 'String with errors', 'descr' => 'Renders a form using a template with placeholders to place the serialized elements freely and renders a list of errors above the form.', 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.html', ), ), ), 'string_placeholders' => array( 'title' => 'String, custom placeholders', 'descr' => 'The string renderer enables you to set custom placeholders that will be used to insert the elements in the form template.', 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.html', ), ), ), 'string_attributes' => array( 'title' => 'String, set replaceable attributes', 'descr' => 'By default the string renderer gives you the possibility to insert a few of an element\'s attributes into the form template via placeholders, but sometimes you will need more.', 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.html', ), ), ), 'radiogroup' => array( 'state' => 'Beta', 'title' => 'Rendering a Radio Group', 'descr' => 'A Radiobutton group element can have its own renderer, which makes it possible to separate content from layout even with groups of radio buttons.', ), 'pattemplate' => array( 'state' => 'Stable', 'title' => 'patTemplate', 'descr' => 'Renders a form using a patTemplate 3.0.0 or higher.', 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.tmpl', ), ), ), 'pattemplate_form' => array( 'state' => 'Stable', 'title' => 'patTemplate with form errors', 'descr' => 'Shows how to render errors that are not attached to one element but the form.', 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.tmpl', ), ), ), 'pattemplate_repeat' => array( 'state' => 'Stable', 'title' => 'patTemplate with repeating template', 'descr' => 'Shows how to render several elements by re-using one template that will be repeated.', 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.tmpl', ), ), ), ) ); ?>