Announcement

Collapse
No announcement yet.

How execute a event when click on quick search button

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How execute a event when click on quick search button

    Hello, i would like insert new a record in other table when a user clicked on quick search button, in which event can i do it?
    thank you.

  • #2
    Re: How execute a event when click on quick search button

    I do not see any events for 'Quick Search'. You _might_ be able to use Search/Events/onRefresh since the page has to reload after you search.
    These events may not trigger at all as they were designed for the main search option.

    I would put in a request for this to be added. This is a good example of where you are bound by the features available of the generator.

    Also .. see if you can interrupt the form submit for this button in the form.

    Info to help on this:
    Code:
    input id="fast_top"
    document.F0.top.submit()
    As a last result, edit the generated code.

    Regards,
    Scott.

    Comment


    • #3
      Re: How execute a event when click on quick search button

      I hope that this new funcionality be added very soon. it is very necesary for get control on this button.

      Thanks you Scott for your response, it was very important for me.

      Comment


      • #4
        i see some one have request this feathre from 2011 , i do not see added untill now

        Comment


        • #5
          Sorry but this "feature" makes no sense for me. Why should i insert a value in another table when i want to search something ?

          Comment


          • #6
            @Gerd Dietrich

            Maybe because you are interested in analyzing the kind of searches your customer does, you know?... for statistics sake.

            Regards

            Comment


            • #7
              Originally posted by kafecadm View Post
              @Gerd Dietrich

              Maybe because you are interested in analyzing the kind of searches your customer does, you know?... for statistics sake.

              Regards
              Yes I guess that is the point, so if managed to send that keyword into a table would be nice doesn't it? like "insert record in another table" sample code, i think it should be put in onValidate success event, not sure.

              Comment

              Working...
              X