I changed the scrips that tells the actions to go page 2,3,4,5
I changed something in this script and the pdf function collaps like a weak building or wall.
I have an other form that uses the same pdf template and that one works fine.
We had so many issues with breezingforms.
function ZM_muta_zp()
{
var soortZP = document.getElementById('ff_elem4629');
if(soortZP.value == 1){
sam_soortZP = 'Apotheker';
}else if(soortZP.value == 2){
sam_soortZP = 'Huisarts en gebruik Promedico VDF of MicroHis';
}else if(soortZP.value == 3){
sam_soortZP = 'Huisarts en gebruik een ander HIS';
}else if(soortZP.value == 4){
sam_soortZP = 'Paramedicus';
}
document.getElementById('ff_elem4844').value = sam_soortZP;
}
And this script:
function zm_soortmuta(element, action)
{
if(typeof bfUseErrorAlerts != 'undefined'){
JQuery(".bfErrorMessage").html('');
JQuery(".bfErrorMessage").css("display","none");
}
error = ff_validation(ff_currentpage);
if (error != '') {
if(typeof bfUseErrorAlerts == 'undefined'){
alert(error);
} else {
bfShowErrors(error);
}
ff_validationFocus('');
} else
var soortMuta = document.getElementById('ff_elem4629');
var soortMutaVar = '';
if(soortMuta.value == 1){
soortMutaVar= "Wijzigingen met betrekking tot adres, facturatie en contactgegevens etc.";
ff_switchpage(2);
}else if(soortMuta.value == 2){
soortMutaVar = "Zorgverlener(s) toevoegen/afmelden";
ff_switchpage(3);
}else if(soortMuta.value == 3){
soortMutaVar = "Wijziging van informatiesysteem of ASP leverancier";
ff_switchpage(4);
}else if(soortMuta.value == 4){
soortMutaVar = "Beëindiging of overname van de praktijk";
ff_switchpage(5);
}else if(soortMuta.value == 0){
alert('Geeft a.u.b. aan wat voor mutatie u wilt doorgeven');
}
document.getElementById('ff_elem8217').value = soortMutaVar;
}
"Connecting Healthcare"