How do I go about changing the value of the return or enter key when a user is typing in a 'textarea' on my form so that the return is display as <br> in the dbase?
I'm not 100% sure what you're trying to do, but if you want the <BR> in to make sure there are line gaps when you output the date you could also just do this:
When you output the text from a db, read the relevant entry in to a string and then output it using:
<%=replace(ReadFile, VbCrLf, "<br>")%>
This will replace any carriage return with a <BR> automatically. You could also change it to add paragraphs or some other formatting.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.