I'm trying to add a field that would be displayed after the submit button in the rendered HTML in my hook_form_alter.
e.g.
$form['include_card'] = [
'#type' => 'checkbox',
'#title' => t('Include gift card'),
'#weight' => 25,
];
Weight doesn't seem to have any bearing on it. How would you set that up?