+ Start a Discussion
RakaRaka 

How to save picklist value in State field of Lead object

Hi Friends,
i am using a custom Web to Lead form, where am tring to add a value into State field of Lead object. i am trying to achieve this with two approaches  below but am unable to save it.

First Approach - 
<label class="enroll__form--desc" for="State">Estado</label>
<select class="form-control enroll__form-height enroll__form-input" id="State" name="State"  placeholder="Estado"/> 

Second Approach - 
<label class="enroll__form--desc" for="State">Estado</label>
<select class="form-control enroll__form-height enroll__form-input" id="State" name="lead.State"  placeholder="Estado"/> 

Please help me 
.
Thanks in advanced
MagulanDuraipandianMagulanDuraipandian
You can use the below
<label for="state">State/Province</label><input  id="state" maxlength="20" name="state" size="20" type="text" />
Or you can try to generate the form again including the State field.
--
Magulan Duraipandian
www.infallibletechie.com
RakaRaka
Hi MagulanDuraipandian,
i have list of state and choose any one from it. i am getting the list of State's but unable to set it.