This is probably a no-brainer, but in case it isn't, I thought I'd share. Imagine you are building a simple flash-based cfform. At the end you include a submit button. However, but button comes out aligned to the left, like so:

Normally buttons are aligned under the form fields. How do we do that? By simply wrapping the button (or buttons) in a form group, it will align properly:
<cfinput type="submit" name="save" value="Save">
</cfformgroup>
The layout now looks like so:

Oh, and btw, these screen shots are from my next big software release, and no, I won't (can't) say what it is yet. :)


Comment 1 written by Kevin Graeme on 24 March 2005, at 3:00 PM
Comment 2 written by Ray Camden on 28 March 2005, at 2:21 PM
Comment 3 written by Stephen Teraji on 6 April 2005, at 4:58 PM
Comment 4 written by Ray Camden on 7 April 2005, at 9:29 AM