ColdFusion - How to use Tab Navigator in a flash format form

cfformgroup - tab navigator in flash format form

FlashFormTabNavigator.cfm


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ColdFusion cfformgroup tag example: how to use Tab Navigator (tabnavigator) in flash format form</title>
</head>

<body>
<h2 style="color:DodgerBlue">cfformgroup example: Flash Format Form and tabnavigator</h2>
<cfif IsDefined("Form.Submit")>
 <cfoutput>
  Country: <b>#Form.Country#</b>
        <br />
        City: <b>#Form.City#</b>
 </cfoutput>
</cfif>
<br /><br />

<cfform 
 name="FlashFormTabNavigator" 
    method="post" 
    action="" 
    format="flash"
    width="500" 
    height="250"
    skin="halosilver"
    >
    <cfformgroup type="panel" label="Location Details">
        <cfformgroup type="tabnavigator"  label="User Address">
            <cfformgroup type="page" label="Country">
                <cfinput type="text" name="Country" label="Country" required="yes" message="Country Required">
            </cfformgroup>
            <cfformgroup type="page" label="City">
                <cfinput type="text" name="City" label="City" required="yes" message="City Required">
            </cfformgroup>
        </cfformgroup>
        <cfinput type="submit" name="Submit" value="Submit Location">
    </cfformgroup>
</cfform>
</body>
</html>









More ColdFusion examples