Custom button acts as a submit button.

User 2230719 Photo


Registered User
16 posts

I have created a next button in html editor. When I click on it, I get alert msg "Submitted".
<div id="next1">
<button id="next_1">Next</button>
</div>
<style>#next_1 {
padding: 5px;
float: right;
}
</style>


How can I avoid this alert msg.
User 187934 Photo


Senior Advisor
20,271 posts


In which view in the editor are you getting the alert?
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
User 2230719 Photo


Registered User
16 posts

Preview in the web browser. In the web browser when I click on next button I am getting alert msg "Submitted".
User 187934 Photo


Senior Advisor
20,271 posts

What kind of page is this button on? Form? Is this a form builder preview?
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
User 2230719 Photo


Registered User
16 posts

I have shared screen shot. Hope now you are clear. I am getting msg after clicking on next button though any action yet not set under next button.
http://imtp.me/78yc026hc
http://imtp.me/78yd026hc
User 187934 Photo


Senior Advisor
20,271 posts

Did you try publishing your form to see if you get the same result?
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
User 2230719 Photo


Registered User
16 posts

I think it is mixing with original button. How I can create button in html if mixed with other.
Here is form. Hope you can understand where is the problem.
http://pdfland-me.coffeecup.com/forms/Rental_Form/
User 2088758 Photo


Senior Advisor
3,121 posts

Hi there Mehedee, I see what you mean. I just tried that form and the next button is submitting the form. Maybe Eric will be able to help you out on this one... I have never used a next button on my form. Interesting looking form though. Kind of curious to see how this turns out.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

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


Registered User
16 posts

Hi Steve,

Thanks for here. CC should add many feature, though we can do in html editor.

I am waiting for Eric response.
User 187934 Photo


Senior Advisor
20,271 posts

Give this a try.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#fb-submit-button").hide();
});
function nextItem() {
$("#fb-submit-button").fadeToggle("slow");
}
</script>

<button id="next_1" onclick="nextItem(); return false;">Next</button>
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.