| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Custom text next/under form field on registration page? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Custom text next/under form field on registration page?
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> <font face="Arial" size="2" color="#FF0000">(Example 05/25/1975 . Must be 18 or older to order!)</font></td> </tr> <tr> <td> </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!
__________________
Version 4.7.6 X-cart Gold |
|||||||||
#2
|
|||||||||
|
|||||||||
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> </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:
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Custom text next/under form field on registration page?
Thanks for such fast reply!
Ok, I removed {include file="main/register_additional_info.tpl" section="P"} from /main/register_personal_info.tpl and added <table border="0" cellpadding="0" cellspacing="0" width="643"> <tr> <td align="right">field name text(label)</td> <td> </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> </table> at the very end of template, as a result - I get the field, get the note I wanted accross from it, but layout still messed up. It appears, personal information block looks fine, but everything else around gets gray background instead of default wite, and all other blocks (addresss, passwords, etc) moved to the right? Is there certain place in template where I need to insert the code?
__________________
Version 4.7.6 X-cart Gold |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Custom text next/under form field on registration page?
Hi,
Do you know one thing that you can add additional field to registration page in admin side itself. have you tried that. admin->->general setting->User Profiles options Quote:
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Custom text next/under form field on registration page?
Yeah It comes as additional_info.tpl or smn, but all I need is to show users the example of how to enter DOB into one text box.
Just Came to mind, is there a way to add 3 drop down boxes under the same DOB value? that whould solve the problem imo
__________________
Version 4.7.6 X-cart Gold |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|