0

I have fallows a couple of things on stacked over flow and can not seem to figure out how to get this simple line to work

<a class="lp-element lp-pom-button" id="lp-pom-button-25"><span class="label" style="margin-top: -10px;">Get Notified!</span></a>

It is suppose to be a submit button and whenever I change it to this

<a class="lp-element lp-pom-button" id="lp-pom-button-25" type="submit" name="submit"><span class="label" style="margin-top: -10px;">Get Notified!</span></a>

It still dosnt submit to the php form.

All help is greatly appreciated. you can view it on the page below to get a perspective of what I am doing

keyinventory[dot]com
asked Sep 10, 2014 at 0:18

1 Answer 1

2

You should be using a <button type="submit"> or <input type="submit"> element instead if you want to submit the form. I don't believe normal links can be used to submit a form without javascript.

A more complete example using your existing code would be: <button type="submit" class="lp-element lp-pom-button" id="lp-pom-button-25" name="submit"><span class="label" style="margin-top: -10px;">Get Notified!</span></button>

answered Sep 10, 2014 at 0:21
Sign up to request clarification or add additional context in comments.

1 Comment

Thank you so much I knew it would be something simple but couldn't figure it out.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.