Aleks
asked on
Problem with syntax
I have the following statement, but has a syntax error ... whats missing ?
<% If (
(Customfields.Fields.Item( "lbl_field 1").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 2").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 3").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 4").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 5").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 6").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 7").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 8").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 9").Value) <> "" AND
(Customfields.Fields.Item( "lbl_field 10").Value ) <> "" AND
(Customfields.Fields.Item( "lbl_field 11").Value ) <> "" AND
(Customfields.Fields.Item( "lbl_field 12").Value ) <> "" AND
(Customfields.Fields.Item( "lbl_field 13").Value ) <> "" AND
(Customfields.Fields.Item( "lbl_field 14").Value ) <> "" AND
(Customfields.Fields.Item( "lbl_field 15").Value ) <> "" )
THEN %>
<input name="BtnSave2" type="submit" class="bodytext" id="BtnSave2" value=" Save Changes ">
<%End If%>
The error is:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/bluedot/Questionnaire/Qnr CustomFiel ds.asp, line 1081
If (
<% If (
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
(Customfields.Fields.Item(
THEN %>
<input name="BtnSave2" type="submit" class="bodytext" id="BtnSave2" value=" Save Changes ">
<%End If%>
The error is:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/bluedot/Questionnaire/Qnr
If (
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER