hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

debesta
CODE

<HTML>
<HEAD><TITLE></TITLE>
<link rel="stylesheet" type="text/css" href="../../scripts/styles.css">


<script LANGUAGE="JavaScript" TYPE="text/javascript" src="../../scripts/datescript.js"></SCRIPT>
<script LANGUAGE="javascript" SRC="http://enterprise.eproject.com/Admin/DynamicApp/js/errHandlers.js"></SCRIPT><script language='JavaScript1.2'>
IsWebForm = true;
function validation() {
var isValid = true;
if (!validation1()){
 isValid = false
}
if (!validation2()){
 isValid = false
}
if (!validation3()){
 isValid = false
}
if (!validation4()){
 isValid = false
}
if (!validation5()){
 isValid = false
}
if (!validation6()){
 isValid = false
}
if (!validation7()){
 isValid = false
}
if (!validation9()){
 isValid = false
}
return isValid;
}
function validation1() {
if (document.getElementById('7ac23a49-2c6d-4a09-ab6e-d3a3d1aceed1').value=='')
{
 alert("'Company' is required.")
 return false;
}
var error = Validate_DefaultValue("Text", document.getElementById('7ac23a49-2c6d-4a09-ab6e-d3a3d1aceed1').value, 0);
if (error.length>0) {
 alert("'Company'" + ":" + error);
 return false;
}
return true;
}
function validation2() {
if (document.getElementById('ce0dafb8-53f4-4dab-97bd-ba71274e7fc1').value=='')
{
 alert("'First Name' is required.")
 return false;
}
var error = Validate_DefaultValue("Text", document.getElementById('ce0dafb8-53f4-4dab-97bd-ba71274e7fc1').value, 100);
if (error.length>0) {
 alert("'First Name'" + ":" + error);
 return false;
}
return true;
}
function validation3() {
if (document.getElementById('0b2d037a-287d-41ce-b511-fb52a52d45f8').value=='')
{
 alert("'Last Name' is required.")
 return false;
}
var error = Validate_DefaultValue("Text", document.getElementById('0b2d037a-287d-41ce-b511-fb52a52d45f8').value, 100);
if (error.length>0) {
 alert("'Last Name'" + ":" + error);
 return false;
}
return true;
}
function validation4() {
if (document.getElementById('41a29128-5bac-4cc8-925c-6a650d387563').value=='')
{
 alert("'Title' is required.")
 return false;
}
var error = Validate_DefaultValue("Text", document.getElementById('41a29128-5bac-4cc8-925c-6a650d387563').value, 100);
if (error.length>0) {
 alert("'Title'" + ":" + error);
 return false;
}
return true;
}
function validation5() {
if (document.getElementById('6012ece2-c5da-4112-96d0-4144b4a52a31').value=='')
{
 alert("'e-Mail' is required.")
 return false;
}
var error = Validate_DefaultValue("Text", document.getElementById('6012ece2-c5da-4112-96d0-4144b4a52a31').value, 100);
if (error.length>0) {
 alert("'e-Mail'" + ":" + error);
 return false;
}
return true;
}
function validation6() {
if (document.getElementById('e97ee94e-2d7d-439a-8030-0a5076b50942').value=='')
{
 alert("'Phone #' is required.")
 return false;
}
var error = Validate_DefaultValue("Text", document.getElementById('e97ee94e-2d7d-439a-8030-0a5076b50942').value, 100);
if (error.length>0) {
 alert("'Phone #'" + ":" + error);
 return false;
}
return true;
}
function validation7() {
var error = Validate_DefaultValue("Text", document.getElementById('bb9a0d7f-71e5-40e2-8b78-aede4e9edb8a').value, 100);
if (error.length>0) {
 alert("'City - State - Country'" + ":" + error);
 return false;
}
return true;
}
function validation9() {
if (document.getElementById('6a4fc4a1-67d2-4616-bfb7-c55f7fb3178a').value=='')
{
 alert("'User Experience Level' is required.")
 return false;
}
var error = Validate_DefaultValue("Pick List", document.getElementById('6a4fc4a1-67d2-4616-bfb7-c55f7fb3178a').value, 100);
if (error.length>0) {
 alert("'User Experience Level'" + ":" + error);
 return false;
}
return true;
}
   </script>
</HEAD>


this give an err when running IE 6 with the lastest update
Pwnzor
Tested, doesnt seem to work =/ maybe I did something wrong? Just copied made html and tried it.
FiNaLBeTa
didn't work. IE 6.0
toska
it did not work here, i got IE6 uptodate
Gotisch
The .js are missing and the .css :/. maybe you need them for that ?
F34R
hmm... didnt seem to work
grabel
it doesnt work
debesta
sorry u needd the .js and css files
xlulux
do you plan to post them? , and is javascript really HTML or is it javascript? seems the topic name is wrong
debesta
http://www.eproject.com/support/online_community/index.htm

try this link ...


u can look @ the js and css file yourself
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.