Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Form field filling using Ajax Search Pro
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 11 months ago.
- AuthorPosts
- July 2, 2020 at 4:02 pm #28234
Hello guys!
We would like to use the Ajax Search Pro search result to fill in a form field with the value that the search produces.We tried to do this using this https://knowledgebase.ajaxsearchpro.com/hooks/filters/asp_before_ajax_output but the server returns Error 500 on the plugin results window.
We would like to know if there is a possible way to make this happen, working “after ajax output”, perhaps using a javascript after selecting the search result.
Do you think there is a way forward?
If it were possible I’d be very grateful, thanks in advance
StefanoJuly 3, 2020 at 9:04 am #28239Hi Stefano,
I believe you are looking for the javascript API. You could try to attach an event handler to the “asp_search_end” event, to get the values from the results box you need. This requires some programming knowledge though. If you need help, I usually recommend Envato Studio to look for custom developers.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 6, 2020 at 3:16 pm #28269Thank you very much Ernest, your support is great as your plug-in, asp_search_end event worked perfectly!
July 6, 2020 at 3:18 pm #28270You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.