Forums / General Questions / Company Field in Contact Us Form Required?

Company Field in Contact Us Form Required?

Locked

Views: 1,709

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
4 Jul 2007, 9:10 PM
#1
qoffa avatar

qoffa

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Company Field in Contact Us Form Required?

Hello everyone, new user here :clap:

Any hopefully someone can help me with this quick question:

I have the company field on the Contact Us form enabled (true). When creating some test accounts in my shop, it will not let me submit the information without entering the company name. I am pretty sure this isn't supposed to be a required field as it does not have a red asterix next to the field.

Can anyone tell me how to keep the company field enable but only as an optional field?

Thanks in advance.

5 Jul 2007, 12:46 AM
#2
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Company Field in Contact Us Form Required?

Company name is not required by default.

Should go right on through as it is, got a URL we can see?

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

5 Jul 2007, 12:53 AM
#3
qoffa avatar

qoffa

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Re: Company Field in Contact Us Form Required?

Sure, the link is below. I should also note that I haven't modded any files - I have the company field set as "true" in the admin panel which is plain vanilla.

Please see if you are able to complete the registration process without providing a company:

http://shop.qoffa.com/index.php?main_page=login :blink:

5 Jul 2007, 1:02 AM
#4
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Company Field in Contact Us Form Required?

What version you running?

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

5 Jul 2007, 1:05 AM
#5
qoffa avatar

qoffa

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Re: Company Field in Contact Us Form Required?

1.3.7 - Upgraded to the latest version last week after my shop sat there unfinished for over a year - I bought the e-start book last week and at this pace, I'll probably be able to open the shop in another year ;-)

Edited to add: I assume by your question you weren't able to proceed without entering a company name, even though the field is not supposed to be required?

5 Jul 2007, 1:14 AM
#6
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Company Field in Contact Us Form Required?

go to configuration -> minimum values --> company change it to 0

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

5 Jul 2007, 1:16 AM
#7
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Company Field in Contact Us Form Required?

then try it, let me know the results

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

5 Jul 2007, 1:26 AM
#8
qoffa avatar

qoffa

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Re: Company Field in Contact Us Form Required?

knuckle-101:

go to configuration -> minimum values --> company change it to 0

Worked great (Doh!). Thanks Knuckle-101!
btw - any ideas how to add the favicon to the zen-cart shop?

5 Jul 2007, 1:50 AM
#9
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Company Field in Contact Us Form Required?

edit includes/templates/your_template/common/html_header.php or if your using default be in includes/templates/template_default/common/html_header.php

look for

<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>

At top of that file

either name it what you want or use the default or you can follow this https://www.zen-cart.com/tutorials/index.php?article=52

Good Luck!!

Time to go out July 4th.

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

5 Jul 2007, 5:49 AM
#10
spbennett avatar

spbennett

Zen Follower

Join Date:
Feb 2007
Location:
Leicester UK
Posts:
230
Plugin Contributions:
0

Re: Company Field in Contact Us Form Required?

Qoffa:

Worked great (Doh!). Thanks Knuckle-101!
btw - any ideas how to add the favicon to the zen-cart shop?
I just sat my favicon.ico file in my root and it worked fine