| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/pornic/plugins/user/djcatalog2/forms/js/ |
Upload File : |
var plguserdjc2 = {
init: function() {
this.target = document.id('jform_name');
this.firstname = document.id('jform_djcatalog2profile_firstname');
this.lastname = document.id('jform_djcatalog2profile_lastname');
this.form1 = document.id('member-registration');
this.form2 = document.id('member-profile');
if (!this.target || !this.lastname || !this.firstname) {
return;
}
instance = this;
if (this.form1) {
this.form1.addEvent('submit', this.setname.pass(instance));
} else if (this.form2) {
this.form2.addEvent('submit', this.setname.pass(instance));
}
},
setname: function(instance) {
instance.target.value = instance.firstname.value + ' ' + instance.lastname.value;
return true;
}
};