Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please login
add a progress bar after hit the calculate button 26.02.2015 14:44
first of all thank you for the previous answers it all works.
I have the last question for you.I think I have become your nightmare.
Is there a way to add a progress bar after they hit the calculate button? I have a form with 6 image uploads and it takes about
25 seconds to submit. I don't want the viewer to think nothing is happening while it's working to upload.
I found this code but I can not adapt it.
https://www.rsjoomla.com/forum/37-rsform-pro/7624-progress-bar.html
I think you have a more simple way to solve my problem
tanks
Edited by alexanderich - 26.02.2015 17:39
I have the last question for you.I think I have become your nightmare.
Is there a way to add a progress bar after they hit the calculate button? I have a form with 6 image uploads and it takes about
25 seconds to submit. I don't want the viewer to think nothing is happening while it's working to upload.
I found this code but I can not adapt it.
https://www.rsjoomla.com/forum/37-rsform-pro/7624-progress-bar.html
I think you have a more simple way to solve my problem
tanks
Edited by alexanderich - 26.02.2015 17:39
Re: add a progress bar after hit the calculate button 27.02.2015 09:05
Hi,
you're welcome, we're happy to hear you're able to build complex forms using our tool. About a 'wait' section, you can do the following.
Create any needed content at your form section (a wait message/a loading gif..) and place it inside a div with a specific id
div id="waitsection"
Then you need to hide it by default. At javascript tab 'executed on loaded page':
CB("#waitsection").hide();
Now use the tab 'execute before calculate' to show it:
CB("#waitsection").show();
And hide it again when calculation is finished at 'executed after calculate' tab:
CB("#waitsection").hide();
Hope this helps
Moonsoft Team
www.moonsoft.es
you're welcome, we're happy to hear you're able to build complex forms using our tool. About a 'wait' section, you can do the following.
Create any needed content at your form section (a wait message/a loading gif..) and place it inside a div with a specific id
div id="waitsection"
Then you need to hide it by default. At javascript tab 'executed on loaded page':
CB("#waitsection").hide();
Now use the tab 'execute before calculate' to show it:
CB("#waitsection").show();
And hide it again when calculation is finished at 'executed after calculate' tab:
CB("#waitsection").hide();
Hope this helps
Moonsoft Team
www.moonsoft.es
Re: add a progress bar after hit the calculate button 02.03.2015 15:35
hi,
I solved my problem in part.
When I click on the "calculate" it shows the "div" even if there is a required field that has not been entered. the progress bar is displayed even if it shows the error "this field is required." to solve my problem I added these lines of code. The code seems to work but does not show the result.
"in before calculate execution"
if (CB(".cb_form").eq(1).validate().form()) {
return false;
CB("#waitsection").show();
}else
{
}
tks
I solved my problem in part.
When I click on the "calculate" it shows the "div" even if there is a required field that has not been entered. the progress bar is displayed even if it shows the error "this field is required." to solve my problem I added these lines of code. The code seems to work but does not show the result.
"in before calculate execution"
if (CB(".cb_form").eq(1).validate().form()) {
return false;
CB("#waitsection").show();
}else
{
}
tks
Re: add a progress bar after hit the calculate button 02.03.2015 17:24
Hi,
'return false;' when form is validated is stopping execution of the submit function. Did you try without that line?.
Regards,
Moonsoft Team
www.moonsoft.es
'return false;' when form is validated is stopping execution of the submit function. Did you try without that line?.
Regards,
Moonsoft Team
www.moonsoft.es