Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. I need help to solve a error on my form

I need help to solve a error on my form

Scheduled Pinned Locked Moved Web Development
helpjavascriptquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bobolov
    wrote on last edited by
    #1

    Error Type: Microsoft VBScript compilation (0x800A0401) Expected end of statement /Poonam/login.asp, line 40, column 148 Content = Content & "
    Full name: " <% 'Green colorset 'BackgroundColor="#C9DDB3" 'BorderColor="#006600" 'Blue colorset BackgroundColor="#AFD1F8" BorderColor="#000080" 'Purple colorset 'BackgroundColor="#FDC8F2" 'BorderColor="#800080" Content = "" 'Clear the Content string QStr = Request.QueryString("login") 'Save the login querystring to QStr if ucase(left(QStr,6))="CREATE" then Title = "Register" else Title = "Login" end if 'The code below saves the contents the table must have in the variable Content 'The content depends on what's in the QueryString if QStr="passfailed" then Content = Content & "

    Wrong password

    [Back](Javascript:history.go(-1))" elseif QStr="createpassfailed" then Content = Content & "

    Wrong password

    [Back](Javascript:history.go(-1))

    Cancel registration" elseif QStr="namefailed" then Content = Content & "

    Invalid username

    Click here to create an acount

    [Back](Javascript:history.go(-1))" elseif QStr="createnamefailed" then Content = Content & "

    Invalid username

    [Back](Javascript:history.go(-1))

    Cancel registration" elseif QStr="creatednew" then Content = Content & "

    Your account has been created

    Login" elseif QStr="createnew" then Content = Content & "

    " Content = Content & "
    Username: " Content = Content & "Password: " Content = Content & "

    P 1 Reply Last reply
    0
    • B bobolov

      Error Type: Microsoft VBScript compilation (0x800A0401) Expected end of statement /Poonam/login.asp, line 40, column 148 Content = Content & "
      Full name: " <% 'Green colorset 'BackgroundColor="#C9DDB3" 'BorderColor="#006600" 'Blue colorset BackgroundColor="#AFD1F8" BorderColor="#000080" 'Purple colorset 'BackgroundColor="#FDC8F2" 'BorderColor="#800080" Content = "" 'Clear the Content string QStr = Request.QueryString("login") 'Save the login querystring to QStr if ucase(left(QStr,6))="CREATE" then Title = "Register" else Title = "Login" end if 'The code below saves the contents the table must have in the variable Content 'The content depends on what's in the QueryString if QStr="passfailed" then Content = Content & "

      Wrong password

      [Back](Javascript:history.go(-1))" elseif QStr="createpassfailed" then Content = Content & "

      Wrong password

      [Back](Javascript:history.go(-1))

      Cancel registration" elseif QStr="namefailed" then Content = Content & "

      Invalid username

      Click here to create an acount

      [Back](Javascript:history.go(-1))" elseif QStr="createnamefailed" then Content = Content & "

      Invalid username

      [Back](Javascript:history.go(-1))

      Cancel registration" elseif QStr="creatednew" then Content = Content & "

      Your account has been created

      Login" elseif QStr="createnew" then Content = Content & "

      " Content = Content & "
      Username: " Content = Content & "Password: " Content = Content & "

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      You can't wrap stuff over lines like this: Content = Content & " needs closing quotes and a continuation...

      B 1 Reply Last reply
      0
      • P Paddy Boyd

        You can't wrap stuff over lines like this: Content = Content & " needs closing quotes and a continuation...

        B Offline
        B Offline
        bobolov
        wrote on last edited by
        #3

        :rose:thank u paddy for helping me out...:)...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups