Hello everyone, can someone help me with a query. ...
# suitecommerce
l
Hello everyone, can someone help me with a query. I need to add a new custom field of type list/record in the registration form, can someone tell me how I can do it, if I can edit directly the login templet or what is the best way.
s
l
I was taking a look at the article you indicate, however, it is not very clear how I can bring records or fields of type list/record, do you have other help?
s
Admittedly, I’ve not tried
It should be possible, but instructions in my doc will not cover those
l
Is it possible for you to do such a test, do you have examples where you use such fields to guide me?
s
Is it possible for you to do such a test,
Yeah it is but, you know, you could just do it? 😄
My guess is that it behaves like other List/Record types in SuiteCommerce / NetSuite in that you will need to send it an internal ID of the option you want selected, and you will need to do all of the frontend stuff (such as creating the dropdown and its options) yourself. So you can start there, for example, using the one I include as part of my beginner tutorial here: https://developers.suitecommerce.com/develop-your-first-extension.html
l
I don't understand you ...
s
CTRL+F for “List/Record” and see how I explain it there
If you need to dynamically get the IDs of the options in the dropdown, then you might need to write a service file to fetch them