Advertisement
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: |
<HTML>
<HEAD>
<script language="JavaScript" src="include/js/gen_validatorv2.js" type="text/javascript"></script>
<Script>
function showHide(elemShow,elemHide,elemHide2)
{
document.getElementById(elemHide).style.display = 'none';
document.getElementById(elemHide2).style.display = 'none';
document.getElementById(elemShow).style.display = 'block';
document.getElementById(elemShow).style.visibility = 'visible';
}
</script>
</HEAD>
<body>
<div><input type=radio name="address_type" value="1" checked onClick="showHide('street','box','route');">Street</div>
<div><input type=radio name="address_type" value="1" onClick="showHide('box','street','route');">Street</div>
<div><input type=radio name="address_type" value="1" onClick="showHide('route','box','street');">Street</div>
<form action="<?=$PHP_SELF?>" method="post" name="form">
<div id="street"><input type=text name="street" value="" size="10" class="required"></div>
<div id="box"><input type=text name="box" value="" size="10" class="required"></div>
<div id="route"><input type=text name="route" value="" size="10" class="required"></div>
<input type="submit" name="submit" value="submit" onclick="return validate_form();">
</form>
<script language="JavaScript" type="text/javascript">
//You should create the validator only after the definition of the HTML form
var frmvalidator = new Validator("form");
frmvalidator.addValidation("street","req","Please enter the street");
frmvalidator.addValidation("box","req","Please enter the box");
frmvalidator.addValidation("route","req","Please enter the route");
</script>
</body>
</html>
|
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
|
Loading Advertisement... |