how can you submit a form by bypassing the required attribute using button 2
like i have button 2 and button 1
i want to submit form by clicking button 2 and bypass required attribute
and both buttons must have type=submit
<form method="POST">
<input name="try" required>
<button type="submit">button 1</button>
<button type="submit">button 2</button>
</form>