Hello everyone! I'm having trouble getting a new c...
# suitecommerce
h
Hello everyone! I'm having trouble getting a new custom dropdown field on my checkout page of my site to populate on a sales order in NS after checkout. I have named the 
select
 with the same internal id as my field in Netsuite and the list option values match the list option internal ids in Netsuite. I have also gone into Configuration and added the field ID under the Advanced Subtab > Custom Fields . Am I missing a step?
k
@Hector Trevino Amaro, did you create a transaction body or line field?
h
I created a transaction body field. I've got date, text, and checkbox input fields working but could not get a select dropdown to do it
k
What is the field type for the transaction body field?
h
List/Record
It's a list of a custom record type
I've been able to set it from the SCA site with an input text field mapped to it and me typing up the internal id of the list value I want. Which leads me to think that there's something wrong with how the
select
element is working
k
is the select data in your request, when you submit the order?
h
No, it's not even showing in the checkout review page
Copy code
<select name="custbody_bhs_freight_terms" data-type="edit-module" id='custbody_bhs_freight_terms' class="order-wizard-billing-module-option-select" value="{{model.option.custbody_bhs_freight_terms}}">
          <option value=1 selected> Prepaid </option>
            <option value=2> Third Party </option>
        </select>
k
and when you make a selection you’re setting the value to the order? I think the value of the option would need to be equal to the internalid of the list/record you want to set in your transaction body field (field type list/record).
h
When I complete the checkout process is when that value "should" be set. The internal ids for the list options in Netsuite are also 1 and 2
h
Yes and I have the preferred delivery field working
As a test
k
I’m not super familiar with the checkout component and or what limitations there are. Is there another select in checkout you can reference from the core code?
h
Yeah I can keep taking another look at it. I may have found a way around it by adding an event to the select to populate a hidden text field with the value and have the text field link to the List/Record in NS