Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 Mar 2011 09:18 PM by  Peter Gniewek
Custom Fields
 6 Replies
Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>
Author Messages


New Member


Posts:
New Member


--
03 Mar 2011 09:48 PM
    Is there a way to create custom fields to be available during checkout?
    0


    Veteran Member


    Posts:2957
    Veteran Member


    --
    03 Mar 2011 09:53 PM
    Absolutely! Use the Dynamic Form Code under Configuration > Settings in the Checkout --> Dynamic Form Code or you could also add custom fields by product or product variant in the Catalog.
    0


    New Member


    Posts:
    New Member


    --
    03 Mar 2011 09:57 PM
    How would I add field called Ship to Account No
    0


    Veteran Member


    Posts:2957
    Veteran Member


    --
    03 Mar 2011 11:16 PM
    You can use this example. I added a required field validator to ensure the account info is always provided but you don't need it if you want to leave the textbox optional:

    <table cellpadding="3" cellspacing="0" border="0">
    <tr>
    <td style="width:80px">Ship To Account:<br/><asp:RequiredFieldValidator ID="MyShipToRequiredFieldValidator" runat="server" ControlToValidate="MyShipToTextBox" CssClass="NormalRed" Display="Dynamic" >Account is required.</asp:RequiredFieldValidator></td>
    <td style="vertical-align:top;"><asp:TextBox ID="MyShipToTextBox" runat="server" Width="100" Value=""></asp:TextBox></td>
    </tr>
    </table>
    0


    New Member


    Posts:
    New Member


    --
    04 Mar 2011 06:37 PM
    This works. But the text box is not alligned with other text boxes. It is little bit off to the left.
    0
    You are not authorized to post a reply.
    Page 1 of 212 > >>