View Single Post
  #2  
Old 12-14-2008, 08:17 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: Custom text next/under form field on registration page?

Try this in /main/register_personal_info.tpl

<tr>
<td align="right">field name text(label)</td>
<td>&nbsp;</td>
<td nowrap="nowrap">
<input type="text" name="dob" id="dob" value=""><font face="Arial" size="2" color="#FF0000">(Example 05/25/1975 . Must be 18 or older to order!)</font>
</td>
</tr>

Quote:
Originally Posted by acidon
I added extra text field "Date of birth" at the end of personal information block.

Then I went to /main/register_personal_info.tpl and added

*****

<table border="0" cellpadding="0" cellspacing="0" width="643">
<tr>
<td>&nbsp;<font face="Arial" size="2" color="#FF0000">(Example 05/25/1975 . Must be 18 or older to order!)</font></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>

*****

The idea was to get it show "(Example 05/25/1975 . Must be 18 or older to order!)" under DoB field. However after i put that code it messed up the whole design. I know I doing it wrong, maybe anyone can inlight me, please? And is there a way to add such message on the right side next to field instead under?

I would appretiate any suggestions! Thanks in advance!
Reply With Quote