<!-- TextArea --> <br> <?php htmlRender::textArea(array("content" => "Test Content", "rows" => 4, "cols" => 50)); ?> <br> <br> <button type="submit">Submit</button> <!-- EndForm --> <?php htmlRender::endForm(); ?> <br> <br> <label>Ajax Form</label> <br><br> <!-- Ajax Form --> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> <?php htmlRender::beginAjaxForm(array("action" => "home/filterProductsByCategory", "method" => "POST")); htmlRender::textField(array("name" => "username")); htmlRender::passwordField(array("name" => "password")); ?> <button type="submit" value="Go" class="btn btn-success">Submit Ajax</button> <br> <?php htmlRender::endAjaxForm();