RE: [Spam?] Re: CFIF Not Working As Expected

2009-06-04 Thread Steve LaBadie
18301 570-422-3999 http://www.esu.edu slaba...@po-box.esu.edu -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Wednesday, June 03, 2009 5:30 PM To: cf-talk Subject: [Spam?] Re: CFIF Not Working As Expected Why do you suggest using the StructKeyExists

CFIF Not Working As Expected

2009-06-03 Thread Steve LaBadie
I have a form where a person can request to sign up for CMS access. This person can also request access for a subordinate as well. I would like the success page to confirm the person selection. If the primary person is the only name, the name prints if the requester is registering for someone

Re: CFIF Not Working As Expected

2009-06-03 Thread Peter Boughton
Try this: cfif StructKeyExists(Form,'Name') AND Len(trim(Form.Name)) cfoutputpYou have requested CMS access for /cfoutput cfif StructKeyExists(Form,'RequestName') AND Len(trim(Form.RequestName)) cfoutputstrong#Form.Name#/strong and

RE: CFIF Not Working As Expected

2009-06-03 Thread Steve LaBadie
University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu slaba...@po-box.esu.edu -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Wednesday, June 03, 2009 2:00 PM To: cf-talk Subject: Re: CFIF Not Working As Expected Try

Re: CFIF Not Working As Expected

2009-06-03 Thread Peter Boughton
Why do you suggest using the StructKeyExists? Because it is the most efficient way to check if the Form scope contains the Name field. Do you see a problem in doing it this? cfif form.name NEQ AND form.requestname NEQ ... The main problem is that there is nothing to check/enforce that