...

View Full Version : Checking the field and adding the values in the difefrent page



tinku
12-17-2004, 05:51 PM
Hi need help checking the validation and then submitting the values?
to different field on the different page of the portal? please help.

h0bbes
12-17-2004, 06:27 PM
you can do something like that

<script language="JavaScript">

function Validate(theForm) {
//validate if txt has values
if(theForm.txt.value=="" )){
alert("Is empty");
theForm.txt.focus();
return (false);
}
return (true);
}

</script>
<body>
<form action="page" method="POST" onsubmit="return Validate(this)" name="Validator">
Insert Value:<Input Type="text" Name="txt">
<INPUT TYPE="submit" NAME="test" VALUE="Test">
</form>
</body>

tinku
12-17-2004, 06:52 PM
Hi thx for replying .
What I am looking for is when a item which is a checked box is checked rest of the field values entered should be added to a different pop window which has all those fields and saved in a different name.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum