0

How do you make an element like <p> or similar trigger the form submission. I do not want to use a button.

Is there a way?

<form>
    <p>I want this to be clicked to submit the form</p>
    <input type='submit' value='Not this one. This is too cliche for me'>
</form>
JM Lontoc
  • 211
  • 4
  • 15

1 Answers1

0

I guess an a tag could work: a tag as a submit button?

You would just need to put it in the p tag

RedBorg
  • 145
  • 1
  • 7