Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
What you probably want is hook_form_views_exposed_form_alter(). Inside this function, add your button using the form API, and then use #attach to add a JavaScript file. In this file, you can use jQuery to hide the button on page load, and then make it reappear when other values on the form change. Another method is to use Form API #states, which may be able to handle the JavaScript part of it for you. Best of luck!
Can you elaborate more on the "series of operations"? From what I gather, you have a View with exposed filters, the user fills out the filters, submits the form, and then you want your button to appear, before the results are shown?
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.