[34+ Indexes] Let's Explore Market - Premium and Optimized Magento Theme
Our Feature Items: SM Market // SM AutoStore // SP Revo
Shopping cart (0)
NOTE: OpenCart & WordPress Support

For OpenCart, Shopify products, please submit your questions here

For WordPress products, please submit your questions here


We may be experiencing slight delays in customer response times because of the outbreak of the coronavirus.

We are doing everything we can to ensure that you get a reply as quickly as possible. Please accept our sincere apologies and thank you for understanding.

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00
Welcome, Guest

Mandatory fields in Contact Form
(1 viewing) (1) Guest
Read user-guides, report bugs and discuss more
  • Page:
  • 1

TOPIC: Mandatory fields in Contact Form

Mandatory fields in Contact Form 5 years, 11 months ago #11871

  • Albert Masnou
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi,
we have added some fields in Contact Form. How can we do these additional fields mandatory!?


This is an example of a field that we want mandatory:

<input name="company" id="company" title="<?php echo Mage::helper('contacts')->__('Company') ?>" onfocus="if(this.value=='<?php echo Mage::helper('contacts')->__('Company:') ?>') this.value='';" onblur="if(this.value=='') this.value='<?php echo Mage::helper('contacts')->__('Company:') ?>';" value="<?php echo $this->__('Company:')?>" class="required-entry input-text" type="text" />

Thanks for your help!

Regards,
Albert
Last Edit: 5 years, 11 months ago by Albert Masnou.

Re: Mandatory fields in Contact Form 5 years, 11 months ago #11910

  • MT Anh
  • OFFLINE
    • Expired - MEC-Developer License
    • Expired - MTC-Developer License
  • Platinum Boarder
  • Posts: 663
  • Karma: 18
Dear Albert Masnou

Your Item Purchase Code of this theme isn't right. You can refer guide in here: www.magentech.com/documentation/how-to-get-themeforest-item-purchase-code/

We need to check it before supporting.

thanks

Re: Mandatory fields in Contact Form 5 years, 11 months ago #11921

  • Albert Masnou
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Sorry,
I've updated purchase code in first message. I hove you can help me...

Thanks,
Albert

Re: Mandatory fields in Contact Form 5 years, 11 months ago #11955

  • MT Anh
  • OFFLINE
    • Expired - MEC-Developer License
    • Expired - MTC-Developer License
  • Platinum Boarder
  • Posts: 663
  • Karma: 18
  • Page:
  • 1
Time to create page: 0.34 seconds
Google+
Joomla TemplatesFree Joomla TemplatesVirtuemart TemplatesK2 TemplatesJoomShopping TemplatesHikaShop TemplatesSobiPro TemplatesOpenCart Themes
Quà Tết Cao Cấp Hộp quà tết Giỏ quà tết Túi quà tết