C
Christina
I have got a form that uses many If statements. The form
use to work, but I recently had to change it to accomodate
new post type, and it almost seems to have gone a little
crazy. It keeps giving me an error "Else without If
block" or "End If without If block". I've gone through
the entire code several times and have not found anything
that is mismatched. I've also used the immediate box to
try to isolate a statment that may be written incorrectly,
and havn't found any. The other thing that seems wierd is
that if I change the Elseif statements to If statements,
so there are a series of If statements with no Else's or
End if's, the code just about works. I know that this
isn't correct, but I am at a loss as to what may be
happening. The code is too long to include here, but does
anyone have any suggestions about what to look for while
I'm trying to pinpoint the problem?
use to work, but I recently had to change it to accomodate
new post type, and it almost seems to have gone a little
crazy. It keeps giving me an error "Else without If
block" or "End If without If block". I've gone through
the entire code several times and have not found anything
that is mismatched. I've also used the immediate box to
try to isolate a statment that may be written incorrectly,
and havn't found any. The other thing that seems wierd is
that if I change the Elseif statements to If statements,
so there are a series of If statements with no Else's or
End if's, the code just about works. I know that this
isn't correct, but I am at a loss as to what may be
happening. The code is too long to include here, but does
anyone have any suggestions about what to look for while
I'm trying to pinpoint the problem?