Advertisement:

Author Topic: problem about price input box  (Read 999 times)

abc500x500

  • Jr. Member
  • **
  • Posts: 96
problem about price input box
« on: December 09, 2015, 10:04:38 am »
Hi.
problem: in price search box, we only type 6 characters ! how we can increase it ?

Nazar

  • Jr. Member
  • **
  • Posts: 75
Re: problem about price input box
« Reply #1 on: January 28, 2016, 05:38:42 pm »
You have to change maxlength attribute.

search-sidebar.php line 120

From
<input class="input-text" type="text" id="priceMin" name="sPriceMin" value="<?php echo osc_esc_html(osc_search_price_min()); ?>" size="6" maxlength="6" />

To
<input class="input-text" type="text" id="priceMin" name="sPriceMin" value="<?php echo osc_esc_html(osc_search_price_min()); ?>" size="6" maxlength="12" />

------------------------------
search-sidebar.php line 125

From
<input class="input-text" type="text" id="priceMax" name="sPriceMax" value="<?php echo osc_esc_html(osc_search_price_max()); ?>" size="6" maxlength="6" />

To
<input class="input-text" type="text" id="priceMax" name="sPriceMax" value="<?php echo osc_esc_html(osc_search_price_max()); ?>" size="6" maxlength="12" />