<label for=”LOGICAL_NAME_OF_FIELD_FROM_dYNAMICS”>Connection Type ?</label>
<select id=”LOGICAL_NAME_OF_FIELD_FROM_dYNAMICS”>
<option value=”772350000″>Volvo</option>
<option value=”772350001″>Saab</option>
<option value=”772350002″>Opel</option>
<option value=”772350003″>Audi</option>
</select>
@manojmane29
optionset (choice) should work fine. Unfortunately, we do not support multiselect (choices) because the toolkit does not include this type.
Support for multiselect in v.next is on the roadmap.
Thanks
@alexacrm No option set fields are also not getting mapped with the CRM can you check the above tag which I mentioned in the main thread. Is anything I am missing over hear ?
@manojmane29 can you show the full form code please
@alexacrm Please refer the code as below:-
{% form entity=”contact” mode=”create” required=[“lastname”, “emailaddress1”, “description”] %}
<form method=”POST”>
<input name=”firstname” required placeholder=”First Name”>
<input name=”lastname” required placeholder=”Last Name”>
<label for=”av_whydoyouwanttovolunteer”>Why do you want to volunteer ?</label>
<select id=”av_whydoyouwanttovolunteer”>
<option value=”772350000″>Volvo</option>
<option value=”772350001″>Saab</option>
<option value=”772350002″>Opel</option>
<option value=”772350003″>Audi</option>
</select>
<button type=”submit”>Submit</button>
<input type=”hidden” name=”_key” value=”{{form.key}}”>
</form>
{% endform %}
@manojmane29
Are you saying the optionset is not updated?
@alexacrm Yes. And this is a custom form. Can you please provide me with the sample code ?
@alexacrm I am badly stuck for the Option Set field can you please help ASAP.
You’re using id attribute for select element. We identify elements by name.
<select name="av_whydoyouwanttovolunteer">
@alexacrm Still not able to update the option set values
Below is the sample twig tag :
<label for=”Referral Source”>Referral Source</label>
<select name=”Referral Source” id=”Referral Source”>
<option value=”814760000″>Facebook</option>
</select>
@manojmane29
“Referral Source” is a display name which does not uniquely identify the column.
Mame attribute must be the column system name, e.g. av_whydoyouwanttovolunteer
Thanks
@alexacrm Thanks got it. It’s working now. thanks for the great support.