Britt-Webb [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 2:12 AM
To: CF-Talk
Subject: Form Field validation tag -- need help (EBW)
I've developed a form field validation tag that seems to work reaso
If my form has 15 fields in it, rather than passing all 15 fields to the
target template, could I...
- create a struct variable (e.g. UserProfile),
- name each form field as a variable under the struct (e.g.,
UserProfile.FirstName, UserProfile.LastName)
- still be able to use the struct variable
I've developed a form field validation tag that seems to work reasonably
well, but I'm thinking it would work even better as a UDF. Does anyone
agree or disagree with that conclusion? I'm attaching the code from the
custom tag below because I don't really know how to structure the CFScript
to acc
Jeffry,
Thanks for the input. I usually work with the Query object when getting
record sets, but when I'm creating new or editing existing records (e.g.
user or event), the form will pass all these fields to target tag (actually
to index.cfm using Fusebox architecture), which will then validate t
Most of the fields I want to present on a page are contained within
USERDETAILS structure variable, e.g. UserDetails.UserID,
UserDetails.UserName, UserDetails.PrimaryEmail
Is there a way to reference these while using the variable UserDetails only
once?
Something like this:
With UserDetails
I'm selecting a single record from SQL Server and want to pass the results
as a structured variable, rather than a query variable. How do I obtain the
list of fields in the query so that I can loop through them?
I know how to loop through a collection of fields in a structured variable
and I know
I'd like to set up some CF code that kicks off at the same time every
day...to do administrative tasks.
How do I make this work? Is it the same for CF5 and CFMX?
Thanks,
Erik
~|
Archives: http://www.houseoffusion.com/cf_lists/in
Thanks, Dave. Both options were helpful.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 3:22 AM
To: CF-Talk
Subject: RE: How to add to CRLF?
> I'm trying to take plain text from a database or text
> file and display it on a web page.
I'm trying to take plain text from a database or text file and display it on
a web page. Problem is that the CRLF characters don't work in HTML. So, I
tried converting them using:
")#>
But that doesn't work. I still get the same run-on paragraph.
Any suggestions how I do this? I'm sure it
9 matches
Mail list logo