ajax form link how to call form function with parameters
There is no '#type' =&gt; 'link' form element, and markup does not have #ajax property. So you are down to buttons and images. You can style them to look like a links. Problem is, button will trigger form validation no matter you want it or no.