Jump to content

Customize - User Registration Form - Address1 Filed


goutham7p

Recommended Posts

Trying to modify "Address" field to show drop down:
 
below is the code:
 
{elseif $field_name eq "address1"}
<div class="required select form-group">
<label class="control-label col-sm-4" for="address1">{l s='Address'} <sup>*</sup></label>
<div class="col-sm-6">
<select class="form-control" name="address1" id="address1">
<option value="">Smondoville, Electronic City I</option>
<option value="">Smondo2, Electronic City I</option>
<option value="">Smodno3, Electronic City I</option>
<option value="{if isset($smarty.post.address1}{$smarty.post.address1}{/if}"</option>
</select>
<div>
</div>
 
Drop down is appearing, but when sybmitted error message: "ADDRESS1" is missing. Need urgent assistance please. 
 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...