var oMenuItem = $('menuItem_join');
oMenuItem.className = 'sublevel1_hover';
oMenuItem.onmouseover = function(){};
oMenuItem.onmouseout = function(){};
</script>
function notifClose(iNotifId, sNotifName) {
var loadComplete = function() {
$('notifPopup_' + iNotifId).style.display = 'none';
}
new BxXmlRequest(aBxConfig['urlRoot'] + "xcontent/id/notifClose/" + sNotifName, loadComplete, true);
}
--></script>
<script src="http://www.boonex.com/unity/express/XML.php?module=form&action=getExpress&community=3" language="javascript"></script>
<script type="text/javascript"><!--
aBxConfig['urlModuleXsl'] = '';
function moduleOnLoad()
{
var elJoinStep = window.document.forms.edit_profile_form.elements.JoinStep;
elJoinStep.value = 1;
hideScreen();
}
function loadStep (i)
{
var o = new BxContent ();
var elStepCont = $('steps_cont' + i);
var elJoinStep = window.document.forms.edit_profile_form.elements.JoinStep;
elJoinStep.value = i;
if (elStepCont.innerHTML.length < 10)
{
o.replace (elStepCont, aBxConfig['urlRoot'] + 'join/xml_form/' + i, aBxConfig['urlModuleXsl'] + 'form.xsl');
}
elStepCont.style.display = 'block';
var el;
for (var ii = 1 ; (el = $('steps_cont' + ii)) ; ++ii )
{
if (ii == i) continue;
el.style.display = 'none';
}
return false;
}
--></script>
function BxJsForms_edit_profile_form ()
{
this.name = 'edit_profile_form';
}
BxJsForms_edit_profile_form.prototype = BxJsForms.prototype;
BxJsForms_edit_profile_form.prototype.validate = function ()
{
var e;
var a;
var ret = true;e = this.get ('Username')
a = {'regexp':'^[A-Za-z0-9_]{3,20}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Username')
} else {
ret = false
this.showErr('Username', 'Username is required. Use letters and numbers only. 3 - 20 chars.')
}
e = this.get ('Fullname')
a = {'regexp':'^[A-Za-z0-9 _-]{3,64}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Fullname')
} else {
ret = false
this.showErr('Fullname', 'You need to enter your "Fullname"')
}
e = this.get ('Password')
a = {'regexp':'^[A-Za-z0-9_-]{4,24}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Password')
} else {
ret = false
this.showErr('Password', 'Password is required. Use letters and numbers only. 4 - 24 chars.')
}
e = this.get ('Email')
a = {'regexp':'^[_.0-9a-zA-Z\-]+@([0-9a-zA-Z][0-9a-zA-Z\-]+.)+[a-zA-Z]{2,4}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Email')
} else {
ret = false
this.showErr('Email', 'Please, specify your email address.')
}
e = this.get ('Country')
a = {'regexp':'^[0-9]{1,3}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Country')
} else {
ret = false
this.showErr('Country', 'Please, specify your location.')
}
e = this.get ('City')
a = {'regexp':'^.{2,30}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('City')
} else {
ret = false
this.showErr('City', 'City is required. Min 2 characters')
}
e = this.get ('PostalCode')
a = {'regexp':'^[A-Za-z0-9\s-]{2,12}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('PostalCode')
} else {
ret = false
this.showErr('PostalCode', 'Please, specify your postal code. It must be valid. 2-12 characters.')
}
e = this.get ('Headline')
a = {'regexp':'^.{2,60}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Headline')
} else {
ret = false
this.showErr('Headline', 'Headline is required. 2 - 60 chars.')
}
e = this.get ('Tags')
a = {'regexp':'^[A-Za-z0-9. _-]{4,255}'}
if (this.checkRegExp (e, a)) {
this.hideErr('Tags')
} else {
ret = false
this.showErr('Tags', 'You need to enter your tags')
}
e = this.get ('DescriptionMe')
a = {'regexp':'^[\\x00-\\xff]{10,60000}'}
if (this.checkRegExp (e, a)) {
this.hideErr('DescriptionMe')
} else {
ret = false
this.showErr('DescriptionMe', 'Description is required. Minimum 10 chars.')
}
this.hideErr('AddPhoto')
e = this.get ('Agreement')
a = {'regexp':'^on$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Agreement')
} else {
ret = false
this.showErr('Agreement', 'Please accept Terms of Service and Privacy Policy before proceed')
}
return ret;
}
o_edit_profile_form = new BxJsForms_edit_profile_form ();
BxJsForms_edit_profile_form.prototype.validate1 = function ()
{
var e;
var a;
var ret = true;e = this.get ('Username')
a = {'regexp':'^[A-Za-z0-9_]{3,20}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Username')
} else {
ret = false
this.showErr('Username', 'Username is required. Use letters and numbers only. 3 - 20 chars.')
}
e = this.get ('Fullname')
a = {'regexp':'^[A-Za-z0-9 _-]{3,64}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Fullname')
} else {
ret = false
this.showErr('Fullname', 'You need to enter your "Fullname"')
}
e = this.get ('Password')
a = {'regexp':'^[A-Za-z0-9_-]{4,24}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Password')
} else {
ret = false
this.showErr('Password', 'Password is required. Use letters and numbers only. 4 - 24 chars.')
}
e = this.get ('Email')
a = {'regexp':'^[_.0-9a-zA-Z\-]+@([0-9a-zA-Z][0-9a-zA-Z\-]+.)+[a-zA-Z]{2,4}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Email')
} else {
ret = false
this.showErr('Email', 'Please, specify your email address.')
}
e = this.get ('Country')
a = {'regexp':'^[0-9]{1,3}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Country')
} else {
ret = false
this.showErr('Country', 'Please, specify your location.')
}
e = this.get ('City')
a = {'regexp':'^.{2,30}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('City')
} else {
ret = false
this.showErr('City', 'City is required. Min 2 characters')
}
e = this.get ('PostalCode')
a = {'regexp':'^[A-Za-z0-9\s-]{2,12}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('PostalCode')
} else {
ret = false
this.showErr('PostalCode', 'Please, specify your postal code. It must be valid. 2-12 characters.')
}
e = this.get ('Headline')
a = {'regexp':'^.{2,60}$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Headline')
} else {
ret = false
this.showErr('Headline', 'Headline is required. 2 - 60 chars.')
}
e = this.get ('Tags')
a = {'regexp':'^[A-Za-z0-9. _-]{4,255}'}
if (this.checkRegExp (e, a)) {
this.hideErr('Tags')
} else {
ret = false
this.showErr('Tags', 'You need to enter your tags')
}
e = this.get ('DescriptionMe')
a = {'regexp':'^[\\x00-\\xff]{10,60000}'}
if (this.checkRegExp (e, a)) {
this.hideErr('DescriptionMe')
} else {
ret = false
this.showErr('DescriptionMe', 'Description is required. Minimum 10 chars.')
}
this.hideErr('AddPhoto')
e = this.get ('Agreement')
a = {'regexp':'^on$'}
if (this.checkRegExp (e, a)) {
this.hideErr('Agreement')
} else {
ret = false
this.showErr('Agreement', 'Please accept Terms of Service and Privacy Policy before proceed')
}
return ret;
}
--></script><form enctype="multipart/form-data" name="edit_profile_form" method="post" action="http://www.boonex.com/unity/join/form_submit" id="edit_profile_form" target="iframe_edit_profile_form">
Minimum 3 characters. Please, use latin letters and numbers only.
Minimum 3 characters. Please, use latin letters and numbers only.
Minimum 4 characters. Password is case-sensitive. Remember it.
Triple-check it. All 4ppl letters will be sent to this email address.
Enter your city here.
Short welcome message like "Looking for soulmate"
Use space as divider.