Forum

Thread tagged as: Question, Forms, Members

Submit Button - Members Form

Hello I am trying add a submit button to my form using the <button> I don't seem to be achieving things very well.

Original code:

<perch:input <button type="submit" value="Sign me up!" class="btn"></button>

Out put seems to ignore the <button> tag?

 <input class="btn" value="Sign me up!" type="submit" /><input type="hidden" name="cms-form" value="" /></button>

help appreciated

Gary Thompson

Gary Thompson 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you want to use a custom button, that's fine. Just include a type="cms" field so that Perch can track the submission.

<button type="submit">Sign me up!</button>
<perch:input type="cms" />