hey I am asking if anyone would like to help me a bit. The code I am using is quite messy and I am trying to remove a couple links to make the page more secure and functional.\
Robert
ok here is the question I am trying to remove a couple fields from this code such as:
displaytelephone
displayhomeadd
PreferredAddressOtherAddress
...And other info but when i do delete them and run the form i get a server error. My question is, is there a safe way to remove this code without getting the same error?
this code was generated by some company, not even them can help me figure some of this stuff out
<tr><td colspan="4" bordercolor="#E8EEFD" bgcolor="#E8EEFD"><p><font size="-1" face="Arial, Helvetica, sans-serif">DSU is being proactive in protecting its employees’ personal information. We need you to indicate how much personal information can be released to DSU constituencies and to external sources (e.g., Balfour and NDPEA) affiliated with DSU. </font><br /><font size="-1" face="Arial, Helvetica, sans-serif"><font color="#000099"> <br />
By checking the boxes below, you authorize DSU to use the following information in the DSU phone directory and departmental mailings, on the DSU Web site and with external sources.</font> (Please check one or more)</font><br /><font size="-1" face="Arial, Helvetica, sans-serif"><input <%If (CStr((Directory.Fields.Item("displaytelephone").Value)) = CStr("Y")) Then Response.Write("checked=""checked""") : Response.Write("")%> name="displaytelephone" type="checkbox" id="displaytelephone" value="Yes" />
<strong>Home Phone </strong><input <%If (CStr((Directory.Fields.Item("displayhomeadd").Value)) = CStr("Y")) Then Response.Write("checked=""checked""") : Response.Write("")%> name="displayhomeadd" type="checkbox" id="displayhomeadd" value="Yes" onclick="showhidefield()" />
<strong>Home Address</strong></font><font color="#000099"><br /><font size="-1" face="Arial, Helvetica, sans-serif">If you do not check the above box(es), the Office of University Relations will only share your campus address and campus telephone number with DSU constituencies and external sources. All marketing mail will be sent to your campus address.</font></font></p><p><font size="-1" face="Arial, Helvetica, sans-serif">The Office of Human Resources maintains the confidential information each employee is required to provide. The home address and home telephone number will be used for important mailings such as W-2 forms, benefits information from NDPERS and health insurance information from Blue Cross Blue Shield of North Dakota. Inform this office promptly when your home address changes so you can continue to receive relevant mailings.</font><br /><div id="hideablearea" style="visibility:hidden"><font size="-1" face="Arial, Helvetica, sans-serif"><strong>I would prefer my mail to be sent to the following address:
<select name="PreferredAddress" id="PreferredAddress"><option value="notSelected">Select one...</option><option value="DSU" <%If (Not isNull((Directory.Fields.Item("perferredaddress").Value))) Then If ("DSU" = CStr((Directory.Fields.Item("perferredaddress").Value))) Then Response.Write("selected=""selected""") : Response.Write("")%>>DSU</option><option value="Home" <%If (Not isNull((Directory.Fields.Item("perferredaddress").Value))) Then If ("Home" = CStr((Directory.Fields.Item("perferredaddress").Value))) Then Response.Write("selected=""selected""") : Response.Write("")%>>Home</option><option value="Other" <%If (Not isNull((Directory.Fields.Item("perferredaddress").Value))) Then If ("Other" = CStr((Directory.Fields.Item("perferredaddress").Value))) Then Response.Write("selected=""selected""") : Response.Write("")%>>Other</option></select></strong></font><font size="-1" face="Arial, Helvetica, sans-serif"><br />
If other address, please specify:
<input name="otherAddress" type="text" id="otherAddress" value="<%=(Directory.Fields.Item("otherAddress").Value)%>" size="40" /></font></div></p></td></tr>
Bookmarks