Submit problem - Post ID 288594

User 2056177 Photo


Registered User
232 posts

I was having a problem with saving my larger forms into a database which turned out to be caused by the number of questions on the form and reducing the number solved the problem.
After the latest WFB update, I found that I was able to put back all of the removed questions and the form worked.
I now have a problem with another form which has several html items but when I test the form, the submit button doesn't work.
Initially, I had individual html items but during testing the submit did not work.
I then followed Eric's suggestion and copied all of the html items into one but with the same result.
If I remove the html's, the send works as I get the "This page says Submitted" message.
Any help or suggestions would be appreciated.
Pete
User 187934 Photo


Senior Advisor
20,181 posts

Hi Peter
As always I need a link to see the issue and any helpful instructions to make sure I can replicate the problem.
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 2056177 Photo


Registered User
232 posts

Hi Eric,
I have just uploaded the form and tested it with the same result in that the submit button does not work.
There are several html elements which I intend to follow your advice and add them into one.
I have tested the form without the html's and it works perfectly, returning the responses to me and saving into a database so the number of questions is not an issue.
I am once again at a loss as to where the problem lies although it does seem to be with the html items but I did test one form with all items into one html file but the send still did not work.
Hoping you can shed some light on this,
Pete
www.tvbr.org.uk/test.html
(There are 77 questions on the form)
User 187934 Photo


Senior Advisor
20,181 posts

Try removing the last script that shows the submit button so we can narrow down the issue.
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 2056177 Photo


Registered User
232 posts

Just removed that last script and tested in preview but the button still doesn't work.
User 187934 Photo


Senior Advisor
20,181 posts

Can you share your fb file please?
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 2056177 Photo


Registered User
232 posts

fb file attached.
Attachments:
User 187934 Photo


Senior Advisor
20,181 posts

Ok try this and remove the condition from the submit button that you have set in the Form Builder.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
//ver 3.0
var jQ = $.noConflict(true);
jQ(document).ready(function(){
jQ("#item367").hide();
jQ("input[name='email1_verification'],input[name='email']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='email1_verification']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='email']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item367").show();
}else{jQ("#item367").hide();}

});


jQ("#item326").hide();
jQ("input[name='email1_verification'],input[name='email']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='email1_verification']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='email']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item326").show();
}else{jQ("#item326").hide();}

});


jQ("#item374").hide();
jQ("input[name='Q26'],input[name='Q26']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q26']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q26']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item374").show();
}else{jQ("#item374").hide();}

});


jQ("#item414").hide();
jQ("input[name='Q32'],input[name='Q32']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q32']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q32']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item414").show();
}else{jQ("#item414").hide();}

});


jQ("#item377").hide();
jQ("input[name='Q35'],input[name='Q35']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q35']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q35']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item377").show();
}else{jQ("#item377").hide();}

});


jQ("#item399").hide();
jQ("input[name='Q57'],input[name='Q57']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q57']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q57']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item399").show();
}else{jQ("#item399").hide();}

});


jQ("#item160").hide();
jQ("input[name='Q60'],input[name='Q60']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q60']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q60']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item160").show();
}else{jQ("#item160").hide();}

});


jQ("#item165").hide();
jQ("input[name='Q61'],input[name='Q61']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q61']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q61']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item165").show();
}else{jQ("#item165").hide();}

});


jQ("#item165").hide();
jQ("input[name='Q62'],input[name='Q62']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q62']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q62']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item165").show();
}else{jQ("#item165").hide();}

});


jQ("#item401").hide();
jQ("input[name='Q63'],input[name='Q63']" ).on('keyup blur change',function(){
var jQnonempty = jQ("input[name='Q63']" ).filter(function() {
return this.value != ''

});
var jQequals = jQ("input[name='Q63']" ).val();
if (jQnonempty.length !== 0 && jQnonempty.attr('value') == jQequals ) {
jQ("#item401").show();
}else{jQ("#item401").hide();}

});

jQ('#fb-submit-button').hide();
jQ("input[name='regex1']").keyup(function(){

if (!jQ(this).val().match(/^TVBRhuey45$/) || jQ(this).val() == "") {

jQ('#fb-submit-button').hide();
jQ('#fb-submit-button').prop('disabled', 'true');
}else{
jQ('#fb-submit-button').show('slow');
jQ('#fb-submit-button').removeAttr("disabled")
}
});

});</script>
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 2056177 Photo


Registered User
232 posts

Sorry Eric,

I appreciate your time but it's not working from my end.

Pete

User 187934 Photo


Senior Advisor
20,181 posts

Can you share link to the form with my alterations and the conditional removed?
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.