Link to home
Create AccountLog in
Avatar of Aleks
AleksFlag for United States of America

asked on

Problem with syntax

I have the following statement, but has a syntax error ... whats missing ?

            <% If (
(Customfields.Fields.Item("lbl_field1").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field2").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field3").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field4").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field5").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field6").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field7").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field8").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field9").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field10").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field11").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field12").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field13").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field14").Value) <> ""  AND
(Customfields.Fields.Item("lbl_field15").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/QnrCustomFields.asp, line 1081

If (
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Aleks

ASKER

THX !