##### Define > Custom Field Type > Custom Field Type Properties

# ASPX Rendering Tab

This tab determines how the field will look when compiled into ASPX code when viewed in a web browser.

The ASPX Rendering Code is C# code that takes in as arguments the session variable for the instance of the Custom Field Type, the field identifier, and the display only indicator. This is an example of code that might be entered in the ASPX Rendering tab.

<script language="c#" runat="server">

String CFTRR_My_New_Type(String sess_var, String field_identifier, int disp_only)

{

String html = "<input name='" + field_identifier + "val1'";

html = html + " size=" + getProp(field_identifier, "size");

html = html + " value='" + sess_var + "'>";

if (disp_only == 1)

return sess_var;

else

return html;

}

</script>

This function creates an <input> tag containing the name, size, and value attributes. Properties defined in the Properties tab can be assigned to attributes in a tag in the ASPX Rendering code. To do this, the property is referenced by the getProp() function call, as seen by the size attribute and its assigned property above in the example code.