On Fri, 28 Jan 2005 09:18:57 -0500, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> See, that's *way* more control than I want to leave to the form tag...
> It also doesn't account for a great number of other possibilities --
> i.e. text description of a field's content above, below or to the
> right of the input element.

I just used the default XSL skin but you can create arbitrary skins to
do whatever formatting you want. The point is that it completely
separates the form logic from the form presentation. If you've been
following the Blackstone demos, you'll have seen a number of custom
controls created using this technique two (such as multi-step wizards
and related selects).

> How would you make the form align all of the labels to the left?

Use a different skin.

> Would it require an align
> attribute in each input element

Nope.

> I have to admit I've been busy enough with both my day job and work on
> the framework that I haven't researched blackstone's form features
> very much. My comment that they were no more difficult to use was in
> reference to the use of cfform in previous versions of ColdFusion.

cfform takes some radical leaps forward in Blackstone. I expect that
many more people will start using cfform now and the all the old
complaints about the crappy code it generates will go away...

> Do the input elements still require the form context? I.e. if I change
> <cfform> to <form> will the <cfinput> and <cfselect> tags still
> produce an error the way they did with previous versions of
> ColdFusion?

I don't know. Why would you want to do that?

> Is that in reference to the automated database integration?

Yes. I didn't know what your radio button tag did so I just provided a
single radio button.

> It looks like it still leaves other complexities unhandled by the form
> tho... Would this form be populated (since there aren't any value
> attributes) if I entered "&productName=myprocuct" on the url for
> example?

I did not provide any initial values for the form fields but I could have done.

> Does this equivalent Blackstone form also automatically
> validate the input elements?

Yes. Go read Ben Forta's blog for more information about field
validation and input masking.

> Does blackstone offer a validation tag (as opposed to attributes)
> which allows multiple input elements to be validated simultaneously?

I'm not sure I understand your question.

> When fields fail validation are they highlighted?

Depends on the skin.

> Do blackstone forms
> handle server-side form validation gracefully using the same code or
> does it still rely on the clunky server-side validation provided with
> previous versions of ColdFusion?

I don't know enough about how things used to work to comment.
Blackstone form validation is very slick and powerful.

Since you're so very interested in all this stuff, perhaps you should
have made the time to join the beta program to get early access to
features and also to help the product team by testing stuff and even
offering input?
-- 
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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192090
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to