submitTag

Navigation:  Development > Function Reference > Helpers > Html >

submitTag

Previous pageReturn to chapter overviewNext page

Create a submit  Tag.
 
App::Html()->submitTag(Name,[Value],[Option]);

 

Parameter

Description

Name

Name of the Input element

Value

Button Text

Options

HTML Attributes

 

See bellow example:

 

echo App::Html()
    ->inputTag(
        "data[Member][submit]",
        "Submit",
        array(
            "id"=>"submit"
        )
    );
 
/* 
Return value 
<input type="submit" name="data[Member][submit]" value="Submit"  id="submit" />
*/