Advertisement:

Author Topic: [Tip] required fields at registration : converted to Bender  (Read 1503 times)

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
[Tip] required fields at registration : converted to Bender
« on: November 04, 2013, 11:20:31 pm »

Please comment out the fields you don't want in plugins/requiredreg/form.php  replace all

dont forget to uncomment/comment in plugins/requiredreg/footer.php

Code: [Select]
<!-- uncomment those fields you want to use, uncomment next line if you want
to use drop-down menus for location -->

<?php UserForm::location_javascript(); ?>
<div class="control-group">
<label class="control-label" for="user_type"><?php _e('User type''Bender') ; ?></label>
<div class="controls"><?php UserForm::is_company_select() ; ?></div></div>


<div class="control-group">
<label class="control-label" for="phoneMobile"><?php _e('Cell phone''Bender') ; ?></label>
<div class="controls"><?php UserForm::mobile_text() ; ?></div></div>

<div class="control-group">
<label class="control-label" for="phoneLand"><?php _e('Phone''Bender') ; ?> *</label>
<div class="controls"><?php UserForm::phone_land_text() ; ?>
</div></div>

<div class="control-group">
<label class="control-label" for="country"><?php _e('Country''Bender') ; ?> *</label>
<div class="controls"><?php UserForm::country_select(osc_get_countries()) ; ?>
</div></div>

<div class="control-group">
<label class="control-label" for="region"><?php _e('State''Bender') ; ?> *</label>
<div class="controls"><?php UserForm::region_select(array()) ; ?>
</div></div>

<div class="control-group">
<label class="control-label" for="city"><?php _e('City''Bender') ; ?> *</label>
<div class="controls"><?php UserForm::city_select(array()) ; ?>
</div></div>

<div class="control-group">
<label class="control-label" for="city_area"><?php _e('City area''Bender') ; ?></label>
<div class="controls"><?php UserForm::city_area_text() ; ?>
</div></div>

<div class="control-group">
<label class="control-label" for="address"><?php _e('Address''Bender') ; ?></label>
<div class="controls"><?php UserForm::address_text() ; ?>
</div></div>

<div class="control-group">
<label class="control-label" for="webSite"><?php _e('Website''Bender') ; ?></label>
<div class="controls"><?php UserForm::website_text() ; ?></d
</div></div>