T
techy techno
hii
i created a form like this
<html>
<head>
<title>ACCOUNT EXAMPLE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p> </p>
<p> </p>
<form name="form1" method="post" action="">
<table width="821" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="239">
<div align="center"><font size="2"><b>DATE :</b></font>
<input type="text" name="txtDate">
</div>
</td>
<td width="312"> <font size="2"><b>DETAILS :</b></font>
<textarea name="txtDetails" rows="2" cols="30">SALARY PAID
</textarea>
</td>
<td width="85">
<div align="center">
<select name="select">
<option>DEBIT</option>
<option>CREDIT</option>
</select>
</div>
</td>
<td width="102">
<div align="left">
<input type="text" name="txtAmount" value="RS 5000">
</div>
</td>
<td width="11">
<input type="submit" name="Submit" value="INSERT">
</td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
when the user selects debit I want the amount to go into the debit field
of the accounts table and when he users selects credit it should go into
the credit field(colum) of the accounts table
how can I do this in ULTRADEV or UD
i created a form like this
<html>
<head>
<title>ACCOUNT EXAMPLE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p> </p>
<p> </p>
<form name="form1" method="post" action="">
<table width="821" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="239">
<div align="center"><font size="2"><b>DATE :</b></font>
<input type="text" name="txtDate">
</div>
</td>
<td width="312"> <font size="2"><b>DETAILS :</b></font>
<textarea name="txtDetails" rows="2" cols="30">SALARY PAID
</textarea>
</td>
<td width="85">
<div align="center">
<select name="select">
<option>DEBIT</option>
<option>CREDIT</option>
</select>
</div>
</td>
<td width="102">
<div align="left">
<input type="text" name="txtAmount" value="RS 5000">
</div>
</td>
<td width="11">
<input type="submit" name="Submit" value="INSERT">
</td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
when the user selects debit I want the amount to go into the debit field
of the accounts table and when he users selects credit it should go into
the credit field(colum) of the accounts table
how can I do this in ULTRADEV or UD