Added new function to insert search results in to new(hidden) form fields