form validation problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • James

    form validation problem

    Dear all,

    We have a problem with a form that was working perfectly well last week. As
    far as we are aware nothing has changed.

    If you can look at the link below (please do NOT complete an application
    though!), complete the required fields (enter bogus info by all means) and
    try to submit the page - nothing happens...



    We're completely baffled by this and need it sorting urgently. Any advice
    would be fantastic.

    Cheers, James
  • Peter Jausovec

    #2
    Re: form validation problem

    Hi James,

    It looks like something is wrong with your event handler

    --
    Regards,
    Peter Jausovec
    (http://blog.jausovec.net)
    "James" <James@discussi ons.microsoft.c om> wrote in message
    news:9EBC7AE8-8884-4CF1-A341-2922CB324A14@mi crosoft.com...[color=blue]
    > Dear all,
    >
    > We have a problem with a form that was working perfectly well last week.
    > As
    > far as we are aware nothing has changed.
    >
    > If you can look at the link below (please do NOT complete an application
    > though!), complete the required fields (enter bogus info by all means) and
    > try to submit the page - nothing happens...
    >
    > https://www.creditconnectuk.com/apply/stage1.aspx
    >
    > We're completely baffled by this and need it sorting urgently. Any advice
    > would be fantastic.
    >
    > Cheers, James[/color]


    Comment

    • James

      #3
      Re: form validation problem


      We thought that too Peter, but the event is simple:

      Private Sub btnContinue1_Cl ick(ByVal sender As System.Object, ByVal e As
      System.EventArg s) Handles btnContinue1.Cl ick

      If Page.IsValid = False Then
      Return
      Else
      'do some stuff (basically adding to session variables)



      "Peter Jausovec" wrote:
      [color=blue]
      > Hi James,
      >
      > It looks like something is wrong with your event handler
      >
      > --
      > Regards,
      > Peter Jausovec
      > (http://blog.jausovec.net)
      > "James" <James@discussi ons.microsoft.c om> wrote in message
      > news:9EBC7AE8-8884-4CF1-A341-2922CB324A14@mi crosoft.com...[color=green]
      > > Dear all,
      > >
      > > We have a problem with a form that was working perfectly well last week.
      > > As
      > > far as we are aware nothing has changed.
      > >
      > > If you can look at the link below (please do NOT complete an application
      > > though!), complete the required fields (enter bogus info by all means) and
      > > try to submit the page - nothing happens...
      > >
      > > https://www.creditconnectuk.com/apply/stage1.aspx
      > >
      > > We're completely baffled by this and need it sorting urgently. Any advice
      > > would be fantastic.
      > >
      > > Cheers, James[/color]
      >
      >
      >[/color]

      Comment

      • James

        #4
        Re: form validation problem


        We thought that too Peter, but the event is simple:

        Private Sub btnContinue1_Cl ick(ByVal sender As System.Object, ByVal e As
        System.EventArg s) Handles btnContinue1.Cl ick

        If Page.IsValid = False Then
        Return
        Else
        'do some stuff (basically adding to session variables)
        Response.Redire ct("stage2.aspx ")
        End If

        End Sub


        I think it is to do with some javascript error that wont fire the event, but
        am only guessing.



        "Peter Jausovec" wrote:
        [color=blue]
        > Hi James,
        >
        > It looks like something is wrong with your event handler
        >
        > --
        > Regards,
        > Peter Jausovec
        > (http://blog.jausovec.net)
        > "James" <James@discussi ons.microsoft.c om> wrote in message
        > news:9EBC7AE8-8884-4CF1-A341-2922CB324A14@mi crosoft.com...[color=green]
        > > Dear all,
        > >
        > > We have a problem with a form that was working perfectly well last week.
        > > As
        > > far as we are aware nothing has changed.
        > >
        > > If you can look at the link below (please do NOT complete an application
        > > though!), complete the required fields (enter bogus info by all means) and
        > > try to submit the page - nothing happens...
        > >
        > > https://www.creditconnectuk.com/apply/stage1.aspx
        > >
        > > We're completely baffled by this and need it sorting urgently. Any advice
        > > would be fantastic.
        > >
        > > Cheers, James[/color]
        >
        >
        >[/color]

        Comment

        • Peter Jausovec

          #5
          Re: form validation problem

          Perhaps it has something to do with validation - try debugging it -> Are you
          sure the redirect is ok?

          --
          Regards,
          Peter Jausovec
          (http://blog.jausovec.net)
          "James" <James@discussi ons.microsoft.c om> wrote in message
          news:605E12A7-980C-4E29-BAE3-2B7B5C441A5D@mi crosoft.com...[color=blue]
          >
          > We thought that too Peter, but the event is simple:
          >
          > Private Sub btnContinue1_Cl ick(ByVal sender As System.Object, ByVal e As
          > System.EventArg s) Handles btnContinue1.Cl ick
          >
          > If Page.IsValid = False Then
          > Return
          > Else
          > 'do some stuff (basically adding to session variables)
          > Response.Redire ct("stage2.aspx ")
          > End If
          >
          > End Sub
          >
          >
          > I think it is to do with some javascript error that wont fire the event,
          > but
          > am only guessing.
          >
          >
          >
          > "Peter Jausovec" wrote:
          >[color=green]
          >> Hi James,
          >>
          >> It looks like something is wrong with your event handler
          >>
          >> --
          >> Regards,
          >> Peter Jausovec
          >> (http://blog.jausovec.net)
          >> "James" <James@discussi ons.microsoft.c om> wrote in message
          >> news:9EBC7AE8-8884-4CF1-A341-2922CB324A14@mi crosoft.com...[color=darkred]
          >> > Dear all,
          >> >
          >> > We have a problem with a form that was working perfectly well last
          >> > week.
          >> > As
          >> > far as we are aware nothing has changed.
          >> >
          >> > If you can look at the link below (please do NOT complete an
          >> > application
          >> > though!), complete the required fields (enter bogus info by all means)
          >> > and
          >> > try to submit the page - nothing happens...
          >> >
          >> > https://www.creditconnectuk.com/apply/stage1.aspx
          >> >
          >> > We're completely baffled by this and need it sorting urgently. Any
          >> > advice
          >> > would be fantastic.
          >> >
          >> > Cheers, James[/color]
          >>
          >>
          >>[/color][/color]


          Comment

          • James

            #6
            Re: form validation problem


            Hi Peter,

            We seem to have sorted it. The .js files in the aspnet_client folder must
            have been corrupted somehow, as when we deleted then re-uploaded them
            everything worked fine.

            Has anyone experienced this before?



            "Peter Jausovec" wrote:
            [color=blue]
            > Perhaps it has something to do with validation - try debugging it -> Are you
            > sure the redirect is ok?
            >
            > --
            > Regards,
            > Peter Jausovec
            > (http://blog.jausovec.net)
            > "James" <James@discussi ons.microsoft.c om> wrote in message
            > news:605E12A7-980C-4E29-BAE3-2B7B5C441A5D@mi crosoft.com...[color=green]
            > >
            > > We thought that too Peter, but the event is simple:
            > >
            > > Private Sub btnContinue1_Cl ick(ByVal sender As System.Object, ByVal e As
            > > System.EventArg s) Handles btnContinue1.Cl ick
            > >
            > > If Page.IsValid = False Then
            > > Return
            > > Else
            > > 'do some stuff (basically adding to session variables)
            > > Response.Redire ct("stage2.aspx ")
            > > End If
            > >
            > > End Sub
            > >
            > >
            > > I think it is to do with some javascript error that wont fire the event,
            > > but
            > > am only guessing.
            > >
            > >
            > >
            > > "Peter Jausovec" wrote:
            > >[color=darkred]
            > >> Hi James,
            > >>
            > >> It looks like something is wrong with your event handler
            > >>
            > >> --
            > >> Regards,
            > >> Peter Jausovec
            > >> (http://blog.jausovec.net)
            > >> "James" <James@discussi ons.microsoft.c om> wrote in message
            > >> news:9EBC7AE8-8884-4CF1-A341-2922CB324A14@mi crosoft.com...
            > >> > Dear all,
            > >> >
            > >> > We have a problem with a form that was working perfectly well last
            > >> > week.
            > >> > As
            > >> > far as we are aware nothing has changed.
            > >> >
            > >> > If you can look at the link below (please do NOT complete an
            > >> > application
            > >> > though!), complete the required fields (enter bogus info by all means)
            > >> > and
            > >> > try to submit the page - nothing happens...
            > >> >
            > >> > https://www.creditconnectuk.com/apply/stage1.aspx
            > >> >
            > >> > We're completely baffled by this and need it sorting urgently. Any
            > >> > advice
            > >> > would be fantastic.
            > >> >
            > >> > Cheers, James
            > >>
            > >>
            > >>[/color][/color]
            >
            >
            >[/color]

            Comment

            Working...