on 05-20-2005 9:58 AM
Hello,
i created a button in my web template so that users can send a mail to confirm they have checked this months data. Nothing to fancy about it (not getting dynamicaly the variable values just some fixed text).
This is the code i used:
<FORM action="mailto:xxx@abc.com
?subject=I have checked and approve the data for this month
&body=Best regards"
method=post encType=text/plain>
<INPUT type=submit value="I have checked and approve the data for this month">
</FORM>
This works fine.
Now my question : i want to have multiple lines in my body and i can't get thjis working (logic since i don't know much of HTML ). Anybody any suggestions?
Thanks in advance for your help!
Hi Tom,
One small change whatever you are writing in
Value="....."
This Text will come on Button.
So as explained earlier if you want more text on button you can do that.
If you want more text in body than I think simply you can use
<FORM action="mailto:xxx@abc.com ?subject=I have checked and approve the data for this month &body=Best regards \n Tom"
i.e. use "\n".
Hope this helps.
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tom,
You can break value to string and pass it.
String message = "I have checked and approve the data for this month
n ""this line will be second line
n""from here it is third line and sn on";
Value = <%=message%>
Hope this helps.Please reward the effort by assigning points.
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.