how to submit a form from a different button code example Example: two buttons in same form <input type="submit" name="button_1" value="Click me">