Custom button acts as a submit...

User 2230719 Photo


Registered User
16 posts

Thanks a lot. Would you explain why I was getting such alert msg?
User 2230719 Photo


Registered User
16 posts

Now working well. Cool!
User 2147626 Photo


Ambassador
2,958 posts

Glad it's working. Eric's the 'Code Man'! :cool:
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2088758 Photo


Senior Advisor
3,121 posts

Eric to the rescue again! :lol:
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,271 posts

Mehedee Rahman wrote:
Thanks a lot. Would you explain why I was getting such alert msg?

What your seeing is actually a browser issue. Since there was no specific action tied to the button the browser defaults to submit. The other way around would be to use the <input type="button" value="Next" /> instead. You need to specify the action to it as in how the form builder does.
<input type="submit" value="Submit" />
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.