<FIELDSET><legend>Deadlines - Dates</legend> Conference Sponsorship: <font color="#777777"><%=replace(rec("cdate"), "1/1/1900", "")%></font> Speaker Proposals: <font color="#777777"><%=replace(rec("sdate"), "1/1/1900", "")%></font> Conference Registration: <font color="#777777"><%=replace(rec("rdate"), "1/1/1900", "")%></font><br><br> Hotel Registration: <font color="#777777"><%=replace(rec("hdate"), "1/1/1900", "")%></font> Conference Early Bird Registration: <font color="#777777"><%=replace(rec("edate"), "1/1/1900", "")%></font> </FIELDSET> This is the page that has a section to display dates enter by users from another input form. Input fields are optional. If there is no information for any specific fields, then it wouldn't be displayed. How do I write the code that doesn't display empty fields?
Assign your recordset to variables and then check if it's not an empty string myvariable=recordset("fieldname") If myvariable<>"" Then Response.write myvariable End If