I'd like to use the pop_datepicker option on another field in inc_profile and pop_profile. I've linked the files ok to the new field (M_RECNAME) and the popup date calendar comes up ok ... but I'd like to change the code so that it doesn't enforce the 18yrs and over calculation after you select the date and the default date shown when the calendar opens up is not 18 years ago to the date but todays date.
Also, I want the data in that field to display as a date format sans time. I've been playing around with this code in pop_profile: if strRecName = "1" and Trim(rs("M_RECNAME")) <> "" then
Response.Write " <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Date ME Position Enrolled: </font></b></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & CDate(FormatDateTime(chkDate(strRecName, " ", true))) & "</font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
But I keep getting various checkstring errors. Some help guys please.