Customizing the Customer Form

Permalink Browser Info Environment
How do I add boxes to the customer form using html code as it suggests in the description of this add-on? In the description for example it says you can add "customer account number"

Any help would be greatly appreciated!

Type: Discussion
Status: New
bestperformance
View Replies:
jb1 replied on at Permalink Reply
jb1
Sure, just edit the view.php in this package and you'll see some code that looks like this:
<div class="right clearex">
                  <input class="right" name="Phone">
                  <label title="<?php echo t("Your phone number"); ?>"><?php echo t("Phone"); ?></label>
               </div>


This displays the "phone" field with a label on the customer form. Just duplicate that to create a new field (give the field a new "name" - each name should be unique).

If using the "email only" gateway, it will automatically pick it up, so no other changes are required.

Hope this helps.

JB

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.