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.

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:

input id="fast_top"
document.F0.top.submit()

As a last result, edit the generated code. :frowning:

Regards,
Scott.

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.

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

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

@Gerd Dietrich

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

Regards

[QUOTE=kafecadm;33502]@Gerd Dietrich

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

Regards[/QUOTE]

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.