Question
changing the size of text input field in xml style coldfusion forms
Does anyone know how to get the size attribute of a text
input field to work in a coldfusion xml form?
Example: When I enter the following code and view the form in a browser, all of the fields are the exact same size.
<cfform format="xml" name="testingform" method="post">
<cfformgroup type="horizontal">
<cfinput type="text" name="first_name" size="10" label="First Name">
<cfinput type="text" name="middle_init" size="2" label="Middle Initial">
<cfinput type="text" name="last_name" size="20" label="Last Name">
</cfformgroup>
</cfform>
Example: When I enter the following code and view the form in a browser, all of the fields are the exact same size.
<cfform format="xml" name="testingform" method="post">
<cfformgroup type="horizontal">
<cfinput type="text" name="first_name" size="10" label="First Name">
<cfinput type="text" name="middle_init" size="2" label="Middle Initial">
<cfinput type="text" name="last_name" size="20" label="Last Name">
</cfformgroup>
</cfform>