Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<cfset sqlString = "
INSERT INTO tds_core (SURNAME,
PREFERRED_FORENAME,
PRN2,
curstatus,
disabil,
profile_status
)
VALUES ('#ff_SURNAME#',
'#ff_PREFERRED_FORENAME#',
'#ff_PRN2#',
'#ff_curstatus#',
'#ff_disabil#',
0);
">
<cfoutput>gets here</cfoutput>
<cfquery name="qry_addNESIStudent" datasource="#request.dsn#">
#preserveSingleQuotes(sqlString)#
</cfquery>
<cfset sqlgetPRN = "
SELECT @@IDENTITY AS LASTPRN
">
<cfquery name="qry_getLastAddedPRN" datasource="#request.dsn#">
#preserveSingleQuotes(sqlgetPRN)#
</cfquery>
<cfoutput query="qry_getLastAddedPRN">
<cfoutput>#ff_PRN#</cfoutput>
</cfoutput>
<cfoutput>
<h3>Adding student: #ff_SURNAME#, #ff_PREFERRED_FORENAME#: #ff_matricNumber#</h3>
</cfoutput>
<cfoutput>
<form action="#request.self#" name="addNESIStudentForm">
<input type="hidden" name="fuseaction" value="#xfa.addNESIStudent#" />
<input type="hidden" name="ff_SURNAME" value="#ff_SURNAME#" />
<input type="hidden" name="ff_PREFERRED_FORENAME" value="#ff_PREFERRED_FORENAME#" />
<input type="hidden" name="ff_PRN2" value="#ff_matricNumber#" />
</cfoutput>
<p>
<label for="disabil"><span>Please select the Disability from the drop-down list: </span></label>
<select name="ff_disabil" id="disabil">
<option>Select an item</option>
<cfoutput query="qry_getUCASDisabil">
<option value="#disability_code#">#disability_description#</option>
</cfoutput>
</select>
</p>
<cfset sqlString = "
SELECT *
FROM qss_curstatus_fltr_for_addstudent
">
<cfquery name="qry_getCurstatus" datasource="#request.dsn#">
#preserveSingleQuotes(sqlString)#
</cfquery>
<p>
<label for="curstatus"><span>Please select the type of addition: </span></label>
<select name="ff_curstatus" id="curstatus">
<option>Select an item</option>
<cfoutput query="qry_getCurstatus">
<option value="#curstatus#">#curstatus_description#</option>
</cfoutput>
</select>
</p>
<input name="submit" type="submit" value="submit">
</form>