I am trying to have a button which is not a "submit" type of button, but rather a normal "button" type, using the forms api of drupal 7, but I can't seem to get it.
I've tried many things, like setting #type to 'button', setting #button_type to 'button' but no matter what I do, drupal always creates a button of type "submit".
You can use:
"#executes_submit_callback" => FALSE
To disable the "submit" step.
If you only want to disable the "validate" step, use:
"#limit_validation_errors" => array()