Forums

Loading Message

GreyHead 10 Aug, 2012
Hi bluesky991,

The latest version is in this faq

There isn't any information here to let me know why it isn't working on your form :-(

Bob
bluesky991 28 Aug, 2012
Hi GreyHead,

unfortunately I have not found a solution. Perhaps the events of my screen help? Is the code on the wrong place? I really need your help and look forward to each answer.
GreyHead 28 Aug, 2012
Hi bluesky991 ,

What code exactly have you added and where have you added it?

Bob
bluesky991 28 Aug, 2012
custom code:
<?php
$form->form_params->set('jsvalidation_onValidateSuccess', 'showLoader');
?>


load js:
function showLoader(){
$('loading').setStyle('display', 'block');
$('submit_btn').disabled = true;
};


My button-name is "submit_btn". The position is like you see at the screen. "Onbilder" is my Event what is been loaded when you enter the file-select opage. "OnFinish" is the uploadevent after select and click next step.
GreyHead 29 Aug, 2012
Hi bluesky991,

Thank you, that looks OK as far as I can see. Please post or PM a link to the form so I can take a quick look.

Bob
bluesky991 29 Aug, 2012
Have sent you the links via PM. Could you find something?
GreyHead 30 Aug, 2012
Hi bluesky991,

Once I got to the end of the form there doesn't appear to be a <div> with the id 'loading' to add the image to so there is a JavaScript error.

I suggest that you get it working on a very simple form then transfer the learning to the multi-page version.

Bob
This topic is locked and no more replies can be posted.