Hello,
I am having a problem to display my text in the beginning of the Textarea. For some reason It just keeps some spaces and then starts displaying. I am trying to display answers of selected questions into TextArea field. I am doing like this:
<tr>
<td width="30%">Email Message : </td>
<td width="70%">
<%
If faqchecklist <> "" Then
set rs1=server.createobject("ADODB.Recordset")
sql="select * from faq where faqid in (" & faqchecklist & ")"
rs1.Open sql,conn,2,2
%>
<textarea name="emailmessage" cols="50" rows="15">
<%
while not rs1.eof %>
<%=rs1.Fields("Answer")%> ;
<% rs1.MoveNext
wend
End If
rs1.close
set rs1=nothing
End If%>
</textarea>
</td>
</tr>
It displays answers starting in the middle of the textarea something like
Answer 1 is here -------
----------------------;
Answer 2 is here ------
-----------------------;
Last Answer -----------
------------------.;
SO it does automatically adds a line and goes to next line when there is more than one answer but it starts in the middle of the textarea. If I remove ';' from my code, then it displays all answer toghether like
Answer 1. Answer 2. Last Answer.
So I want to display my all answers in a new line staring from the begging of the text area like
Answer 1 - ---------------------------------------
--------------- .
Answer 2 - ---------------------------------------
-------------.
Last Answer - ----------------------------------
-------------.
Is that possible..? If it is please tell me how should I do that.? It is really urgent.
Thanks
Khushbu