RE: problem looping around form fields and values

2001-05-24 Thread Ben Koshy
Hi Mark, Here you go: You have to first construct the exact the fully scoped variable name. You can see I added the CFSET Fname = Form. fname Line and then you use the evaluate function to return the actual value of the passed variable name. Corrected Code Attached:

RE: problem looping around form fields and values

2001-05-24 Thread Mark
Hi Ben, Thanks for the explanation!! The code works great on the first field (mailone), but then doesn't check any of the remaining fields. It loops through them, but seems any form variable after the first is not being checked by the REFindNoCase function because it lets any combination of

RE: problem looping around form fields and values

2001-05-24 Thread David Shadovitz
Change cfparam name=ReturnCode default=0 to cfset ReturnCode=0 -David On Thursday, May 24, 2001 1:09 AM, Mark [SMTP:[EMAIL PROTECTED]] wrote: Hi Ben, Thanks for the explanation!! The code works great on the first field (mailone), but then doesn't check any of the remaining fields. It

RE: problem looping around form fields and values

2001-05-24 Thread Mark
David -- Thanks, forgot about the cfparam resetting the variable. It works fine now! Mark --- David Shadovitz [EMAIL PROTECTED] wrote: Change cfparam name=ReturnCode default=0 to cfset ReturnCode=0 -David On Thursday, May 24, 2001 1:09 AM, Mark [SMTP:[EMAIL PROTECTED]] wrote: Hi Ben,