Transaction Code on our Project
<cfif IsDefined(’Session.PERSONID’)>
<h2>Transaction</h2>
<form name="s" method="get" action="transaction.cfm#" >
<table width="308" border="1">
<tr>
<td width="128">Receipt Number </td>
<td width="164"><input type="text" name="or"/></td>
</tr>
<tr>
<td width="128">Transacty </td>
<td width="164"><input type="text" name="transacty"/></td>
</tr>
<tr>
<td width="128">Transaction type </td>
<td width="164"><select name = "transtype">
<option value = ‘IN’>IN</option>
<option value = ‘OUT’>OUT</option>
</select></td>
</tr>
<tr>
<td width="128"> </td>
<td width="164"><input type="submit" name="gg" value="Submit" /></td>
</tr>
</form>
</table>
<div id="result"></div>
<cfelse>
<cflocation url = "login.cfm" addtoken="no">
</cfif>
