RE: Form Field validation tag -- need help (EBW)

2002-11-25 Thread Erik Britt-Webb
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

Can a form pass a structured variable to target template? (EBW)

2002-11-25 Thread Erik Britt-Webb
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

Form Field validation tag -- need help (EBW)

2002-11-25 Thread Erik Britt-Webb
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

RE: How to convert 1-record query to structure (EBW)

2002-11-24 Thread Erik Britt-Webb
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

How do reference fields in a collection without structure name (EBW)

2002-11-24 Thread Erik Britt-Webb
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

How to convert 1-record query to structure (EBW)

2002-11-24 Thread Erik Britt-Webb
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

How to have CF Server run timed (e.g. daily) processes?

2002-11-01 Thread Erik Britt-Webb
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

RE: How to add to CRLF?

2002-09-11 Thread Erik Britt-Webb
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.

How to add to CRLF?

2002-09-10 Thread Erik Britt-Webb
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