I have two custom non-stored fields (one is a chec...
# ask-stanley-ai
a
I have two custom non-stored fields (one is a checkbox, the other is a List/Record type). They appear in Edit mode (when opening an existing record), but not Create mode (when creating a new one). How do I get them to appear in Create mode?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that the issue you're facing is related to the display settings of your custom fields. In NetSuite, the visibility of fields can be controlled by their display type settings. If your custom fields are not appearing in Create mode, you might want to check the following: 1. Field Level Permissions: Ensure that the role you're using has the necessary permissions to view and edit these fields. You can check this by going to
Customization > Lists, Records, & Fields > Record Types > Your Custom Record > Fields > Your Field > Access Levels
. 2. Display Type: Check the display type of your fields. If it's set to 'Disabled' or 'Hidden', it won't appear in Create mode. You can check this by going to
Customization > Lists, Records, & Fields > Record Types > Your Custom Record > Fields > Your Field > Display
. 3. Form Level Settings: Check if the fields are included in the form you're using. Go to
Customization > Forms > Entry Forms > Your Form > Screen Fields
and ensure that your fields are checked. 4. Sublist Fields: If your fields are part of a sublist, they might not be visible in Create mode due to sublist limitations. You might need to use a User Event script to change the display type of these fields in Create mode. Here's a sample code snippet:
Copy code
javascript
function beforeLoad(context) {
    if (context.type === context.UserEventType.CREATE) {
        var form = context.form;
        var sublist = form.getSublist('your_sublist');
        var field = sublist.getField('your_field');
        field.updateDisplayType({displayType: serverWidget.FieldDisplayType.NORMAL});
    }
}
Remember to replace 'your_sublist' and 'your_field' with your actual sublist and field IDs. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83959949
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826721072
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826599
Please provide your feedback on this answer.