On Fri, 28 Jan 2005 01:10:16 -0500, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> You might also have a look at the onTap framework -- which has much
> more robust, bulletproof and reuseable (but no more difficult to use)
> form validation features.

That is *way* more complex than the equivalent Blackstone form!

Blackstone's XML forms allow you to specify just the plain fields
without formatting and have an automatic XSL transformation applied to
create nicely lined up form fields and labels...

For example, the following simple form:

<cfform format="xml" action="ikeform.cfm" method="post">
        <cfinput type="text" name="productName" label="Product Name"/>
        <cfselect name="productCategory" label="Product Category"
query="cats" display="data" value="value"/>
        <cfinput type="radio" name="productStatus" label="Product Status" 
value="1"/>
        <cfinput type="text" validate="numeric" name="listPrice"
required="yes" label="List Price"/>
        <cfinput type="text" name="availableData" required="yes"
label="Available Data"/>
        <cfinput type="submit" name="submit" value="Submit"/>
</cfform>

With no other code, this produces:

http://www.corfield.org/articles/stuff/ike.gif

(I didn't both mapping Ike's radio button stuff)

Form labels are automatic and aligned. Required fields are indicated
with a red *.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 5 invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192060
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to