What I am looking for is to have a button allowAutoSubmit when a token is certain parameters, and not allow it for other parameters.
I have tried :
<module name="Button">
<param name="label">Search</param>
<param name="allowSoftSubmit">False</param>
<param name="allowAutoSubmit">$Test$</param>
where $Test$ is either True or False.
Is this possible? If need be, I know the value of the button on page load, as it will be one of the parameters in the URL (UrlLoader)