BigCommerce - Hosted Ecommerce Software by Interspire

Interspire Forum

 
Go Back   Interspire Forum > Interspire Knowledge Manager Community Forum > Customization and Integration

 
 
Thread Tools Display Modes
  #1  
Old 12-15-2009, 02:10 AM
stevebeck + stevebeck is offline
Interspire Customer
 
Join Date: Dec 2009
Posts: 2
Default Adding custom fields to contact form

Hi,
I was wondering the best way to add custom fields to the contact form?
Thanks Steve
  #2  
Old 12-22-2009, 07:47 PM
fiat
Guest
 
Posts: n/a
Default

I am interested in doing the same thing, but am having trouble. Any help or example would be greatly appreciated.
  #3  
Old 01-14-2010, 02:47 AM
stevebeck + stevebeck is offline
Interspire Customer
 
Join Date: Dec 2009
Posts: 2
Default

Hello, do any interspire staff moderate this forum!
  #4  
Old 06-16-2010, 05:50 PM
kasmatic + kasmatic is offline
Interspire Customer
 
Join Date: Jul 2007
Posts: 15
Default

Unfortunately it doesn't look like it. I too would like to add custom fields to the contact form. I would imagine they're quite busy with BigCommerce, but I'd love to hear from them on the forums occasionally.
  #5  
Old 07-05-2010, 11:40 AM
weeziecatt + weeziecatt is offline
Interspire Customer
 
Join Date: Jun 2008
Posts: 9
Default

I'm looking to do the same thing, if anybody sorts anything out I'd love to hear from them.

I've managed to add the fields but it doesn't post them when I recieve the email.
  #6  
Old 07-05-2010, 05:57 PM
websnail + websnail is offline
Interspire Customer
 
Join Date: Jul 2008
Posts: 1,548
Default

Post up your code and any intel on the file paths you've found and/or suspect are involved and I may take a peek over Wednesday.
__________________
ShoppingCartCommunity - Community Forum, Mods, Hacks, Add-ons & a growing KB (was InterspireD)
SnailSolutions Mod Shop - for Royal Mail Adv, Max Chars, Currency Converters, etc...
Web Mollusc appreciation fund (Paypal: info [at] websnail.net)
  #7  
Old 07-05-2010, 06:04 PM
weeziecatt + weeziecatt is offline
Interspire Customer
 
Join Date: Jun 2008
Posts: 9
Default

Cool thanks, I'm thinking tho it's because these fields are not listed in %%GLOBAL_FormFieldList%%
but I'm not sure where I edit that?

Any advice greatly apprechiated.


PHP Code:

<class="ErrorMessage" style="display: %%GLOBAL_HideFormError%%">
    %%
LNG_BadContactFormCaptcha%%
</
p>

<
form action="%%GLOBAL_ShopPath%%/pages.php?action=sendContactForm" method="post" id="ContactForm" class="PL20">
    <
input type="hidden" name="page_id" id="page_id" value="%%GLOBAL_PageId%%" />
    <
div class="FormContainer HorizontalFormContainer">
        <
dl>
            <
dt style="display: %%GLOBAL_HideFullName%%">&nbsp;&nbsp; %%LNG_ContactName%%:</dt>
            <
dd style="display: %%GLOBAL_HideFullName%%"><input type="text" name="contact_fullname" id="contact_fullname" class="Textbox Field200" value="%%GLOBAL_ContactName%%" /></dd>

            <
dt><span class="Required">*</span>&nbsp; %%LNG_ContactEmail%%:</dt>
            <
dd><input type="text" name="contact_email" id="contact_email" class="Textbox Field200" value="%%GLOBAL_ContactEmail%%" /></dd>

            <
dt style="display: %%GLOBAL_HideCompanyName%%">&nbsp;&nbsp; %%LNG_ContactCompanyName%%:</dt>
            <
dd style="display: %%GLOBAL_HideCompanyName%%"><input type="text" name="contact_companyname" id="contact_companyname" class="Textbox Field200"  /></dd>
            
            <
dt style="display: %%GLOBAL_AddressLine1%%"><span class="Required">*</span>&nbsp; %%LNG_AddressLine1%%:</dt>
            <
dd style="display: %%GLOBAL_AddressLine1%%">
              <
input type="text" name="contact_AddressLine1" id="contact_addressLine1" class="Textbox Field200" value="%%GLOBAL_AddressLine1%%"  />
            </
dd>
            <
dt style="display: %%GLOBAL_AddressLine2%%">&nbsp;&nbsp; %%LNG_AddressLine2%%:</dt>
            <
dd style="display: %%GLOBAL_AddressLine2%%"><input type="text" name="contact_addressline2" id="contact_addressline2" class="Textbox Field200"  /></dd>
            <
dt>&nbsp;&nbsp; %%LNG_AddressLine3%%:</dt>
            <
dd>
              <
input type="text" name="contact_addressline3" id="contact_addressline3" class="Textbox Field200" />
            </
dd>
            <
dt><span class="Required">*</span>&nbsp;%%LNG_City%%:</dt>
            <
dd ><input type="text" name="contact_city" id="contact_city" class="Textbox Field200" value=""  /></dd>
            <
dt >&nbsp;&nbsp; %%LNG_StateProvince%%:</dt>
            <
dd ><input type="text" name="contact_stateprovince" id="contact_stateprovince" class="Textbox Field200"  /></dd>
            <
dt >&nbsp;&nbsp; %%LNG_ZipPostcode%%:</dt>
            <
dd ><input type="text" name="contact_ZipPostcode" id="contact_ZipPostcode" class="Textbox Field200"  /></dd>
            
            
            <
dt style="display: %%GLOBAL_HidePhone%%">&nbsp;&nbsp; %%LNG_ContactPhone%%:</dt>
            
            <
dd style="display: %%GLOBAL_HidePhone%%"><input type="text" name="contact_phone" id="contact_phone" class="Textbox Field200" value="%%GLOBAL_ContactPhone%%" /></dd>

            <
dt style="display: %%GLOBAL_HideOrderNo%%">&nbsp;&nbsp; %%LNG_ContactOrderNo%%:</dt>
            <
dd style="display: %%GLOBAL_HideOrderNo%%"><input type="text" name="contact_orderno" id="contact_orderno" class="Textbox Field200" value="%%GLOBAL_ContactOrderNo%%" /></dd>

            <
dt style="display: %%GLOBAL_HideRMANo%%">&nbsp;&nbsp; %%LNG_ContactRMANo%%:</dt>
            <
dd style="display: %%GLOBAL_HideRMANo%%"><input type="text" name="contact_rma" id="contact_rma" class="Textbox Field200" value="%%GLOBAL_ContactRMA%%" /></dd>

            <
dt><span class="Required">*</span>&nbsp; %%LNG_ContactQuestion%%:</dt>
            <
dd><textarea name="contact_question" id="contact_question" class="Field300" rows="5" cols="50">%%GLOBAL_ContactQuestion%%</textarea><div id="SearchResults"></div></dd>

            <
dt style="display: %%GLOBAL_HideCaptcha%%"><span class="Required">*</span>&nbsp; %%LNG_CaptchaVerification%%:</dt>
            <
dd style="display: %%GLOBAL_HideCaptcha%%">
                    <
class="Warning">%%LNG_CaptchaIntro%%</p>
                    %%
GLOBAL_CaptchaImage%%
                    <
input style="margin-top:5px; width:105px" type="text" name="captcha" id="captcha" class="Textbox" />
            </
dd>
        </
dl>
        <
class="Submit">
            <
input type="submit" value="%%LNG_SendForm%%" class="ContactButton" />
        </
p>
  </
div>
</
form>

%%
Panel.ContactFormJavaScript%%

%%
GLOBAL_ARSPanel%% 
  #8  
Old 07-05-2010, 06:08 PM
websnail + websnail is offline
Interspire Customer
 
Join Date: Jul 2008
Posts: 1,548
Default

Sorry, need to highlight this... I need FILENAMES, not raw code although that'll be useful...

Doing code searches is not my idea of fun if you get my drift
__________________
ShoppingCartCommunity - Community Forum, Mods, Hacks, Add-ons & a growing KB (was InterspireD)
SnailSolutions Mod Shop - for Royal Mail Adv, Max Chars, Currency Converters, etc...
Web Mollusc appreciation fund (Paypal: info [at] websnail.net)
  #9  
Old 07-05-2010, 06:13 PM
weeziecatt + weeziecatt is offline
Interspire Customer
 
Join Date: Jun 2008
Posts: 9
Talking Ok here they are...I think?

page_contact_form.html
page_contact_email.html

I hope that's what you mean?!!

Thanks in advance!
  #10  
Old 07-05-2010, 06:16 PM
websnail + websnail is offline
Interspire Customer
 
Join Date: Jul 2008
Posts: 1,548
Default

Quote:
Originally Posted by weeziecatt View Post
page_contact_form.html
page_contact_email.html

I hope that's what you mean?!!
Yup...

No promises on when but I'll see what I can manage..
__________________
ShoppingCartCommunity - Community Forum, Mods, Hacks, Add-ons & a growing KB (was InterspireD)
SnailSolutions Mod Shop - for Royal Mail Adv, Max Chars, Currency Converters, etc...
Web Mollusc appreciation fund (Paypal: info [at] websnail.net)
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump