I try my best to make it myself but ...
I have 2 pages named
form and
download
Under submit button on first page
form I made:
function ff_download_action(element, action)
{
switch (action) {
case 'click':
error = ff_validation(ff_currentpage);
if (error != '') {
alert(error);
ff_validationFocus();
} else {
ff_switchpage(ff_getPageByName('download'));
ff_submitForm();
}
break;
default:;
} // switch
} // ff_download_action
Result is strange -> after submit I see for some seconds
download page and than auto back to
form
How to remove this auto return... or maybe I'm thinking completly wrong ??