Advertisement:

Author Topic: [SOLVED]Remove the default value for Region when User creates a new item  (Read 725 times)

ben_dchost1

  • Jr. Member
  • **
  • Posts: 92
Hey,

I want to remove the default value for region, how do i remove this? I looked in code but it calls a function, and the function ends up in so many places....

code from bender/item-post.php
Code: [Select]
<div class="control-group">
                                <label class="control-label" for="region"><?php _e('Postcode''bender'); ?></label>
                                <div class="controls">
                                  <?php ItemForm::region_text(osc_user()); ?>
                                </div>
                                    </div>

Does anyone know how to not specify a value? Since this is currently overriding the input and it will always come up with 'Cambridgeshire', Thanks!

Solution: Remove the osc_user() from brackets
« Last Edit: September 08, 2014, 12:05:36 pm by ben_dchost1 »