The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Code:
<script language="javascript">
<!--
function validate(theform) {
if (theform.linktitle.value=="" || theform.linkurl.value=="" || theform.linkdesc.value=="") {
alert("Please complete the title, address, and description fields.");
return false; }
elseif (theform.linkdesc.length>80) {
alert("The link description is not to exceed 80 characters.");
return false; }
else { return true; }
}
//-->
</script>
|
|
#2
|
|||
|
|||
|
if anyone's interested, the problem is here:
Code:
elseif (theform.linkdesc.length>80) {
Code:
else if (theform.linkdesc.value.length > 80) {
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|