Ask a Question related to Macromedia ColdFusion, Design and Development.
-
redman2215 #1
CFIF URL check not working....
I am doing several If statements separated by OR to find acceptable URLS to be
passed....like so
<cfinclude template="/clink_includes/global.cfm">
<cfparam name="capwizurl" default="http://capwiz.com/fof/home/">
<cfif capwizurl EQ "http://capwiz.com/fof/home/" OR capwizurl EQ
"http://www3.capwiz.com/fof/dbq/officials/" OR capwizurl EQ
"http://www3.capwiz.com/fof/bio/?id=20004&lvl=F">
<cfelse>
<cflocation url="http://www.family.org/cforum/">
</cfif>
The first two are working fine, the last is not...does it have to do with the
? or & or = in that particulat URL??
steve
redman2215 Guest
-
CFIF is being ignored
I have 2 cfif statements at the head of my doc that are being ignored in the output. Only the efelse part of the statements are being read. I have... -
CFIF help
I have an HTML that has a list of names pulled from a Database. In my HTML table my headers are Read, Write, Release, View For each employee that... -
CFIF statements-why isnt it working???
I am trying to only allow a handful of URLs to pass though, otherwise relocate to home page..This code isnt workign however...any help woudl be... -
DW ASP check please...not working right???
Below i have tried to get the page to load up with different membership info. I am trying to make it show valid and non valid memberships. you can... -
cfif being ignored
I wanted this to only execute if FORM.rp_image does not = defaultImg.gif but it seems to always run. I thought the syntax was okay but maybe not. ... -
mxstu #2
Re: CFIF URL check not working....
I tested it with each of the 3 values and it worked fine for me. Are you sure
the value you're passing is matches the last condition? Did you
- Output the value passed to make sure it is correct
- Check the value length to make sure there are no trailing spaces?
mxstu Guest



Reply With Quote

