Hier können Sie sich als Studentin oder Student der Hochschule Mannheim für den MAlumni-Newsletter registrieren:
var optin_context_subscribe_13_ = {
form_id: 'subscribe_13_', ci_id: 'subscribe_13_mwic', ci: true, check_lists_or_setups: false, mandatories: [ "subscribe_13_optin_field_2","subscribe_13_optin_field_3","subscribe_13_optin_field_4","subscribe_13_optin_field_1","subscribe_13_optin_field_47","subscribe_13_optin_field_49"], emailfields: [ "subscribe_13_optin_field_1"], subscriberlists: [ ], optinsetups: [ ],
datepicks: [ ],
msg: { "error_mandatory":"Füllen Sie alle mit einem * markierten Felder aus!", "error_email":"Bitte überprüfen Sie Ihre E-Mail-Adresse!", "error_list":"Bitte wählen Sie mindestens eine Liste!" },
init:function () { for(i = 0; i < this.datepicks.length; i++){ var DTP = new DateTimePicker( this.datepicks[i].id + '_hidden',this.datepicks[i].id,this.datepicks[i]); DTP.init(); } if(this.ci){ setInterval(function(){ var el=document.getElementById(optin_context_subscribe_13_.ci_id); if(el){ if (isNaN(parseInt(el.value)) == true){ el.value = 0; } else{ el.value = parseInt(el.value) + 17; } } }, 1000); } }, checkForm:function () { try { var frmelem = document.getElementById(this.form_id); if(this.check_lists_or_setups){ var temp = false; for(var i=0;i< this.subscriberlists.length;i++){ if(document.getElementById(this.subscriberlists[i]).checked==true){ temp = true; break; } } for(var i=0;i< this.optinsetups.length;i++){ if(document.getElementById(this.optinsetups[i]).checked==true){ temp = true; break; } } if(!temp) throw this.msg.error_list; } for (var i=0; i< this.mandatories.length; i++){ var cfObj=document.getElementById(this.mandatories[i]); if (cfObj!=null) { if (cfObj.type.toLowerCase()=="text" || cfObj.type.toLowerCase()=="textarea") { if (cfObj.value.match(/^\s*$/)) throw this.msg.error_mandatory; } else if (cfObj.type.toLowerCase()=="radio" || cfObj.type.toLowerCase()=="checkbox") { var tmpObj=document.getElementsByName(cfObj.name); var tmpCheck=false; for (var j=0;j< tmpObj.length; j++) { if (tmpObj[j].checked==true) { tmpCheck=true; break; } } if(!tmpCheck) throw this.msg.error_mandatory; } else if (cfObj.type.toLowerCase().indexOf("select")>=0) { if (cfObj.selectedIndex<=0) throw this.msg.error_mandatory; if (cfObj.selectedIndex<=0) throw this.msg.error_mandatory; } } } var validmail = new RegExp("^[a-zA-Z0-9_\\.\\-]+@[a-zA-Z0-9_\\.\\-]+\\.[a-zA-Z0-9]{2,13}$"); for (var i=0;i< this.emailfields.length; i++){ if(!validmail.test(document.getElementById(this.emailfields[i]).value)) throw this.msg.error_email; } frmelem.submit(); } catch(e) { window.alert(e); return false; } } } window.onload= optin_context_subscribe_13_.init();