Back to All

Can you autofill stringValues in a document?

We are trying to autofill the Route Name into the stringValue whenever a certain document is created but cannot figure out how to do this.

{
  "dispatchJobId": 9002955259,
  "documentTypeUuid": "79b45b3b-6e73-40e1-ac72-3b7692475d4c",
  "fields": [
    {
                    "label": "Order #",
                    "valueType": "ValueType_String",
                    "stringValue": 
                },
                {
                    "label": "Do you accept this load?",
                    "valueType": "ValueType_MultipleChoice",
                    "multipleChoiceValueTypeMetadata": {
                        "multipleChoiceOptionLabels": [
                            {
                                "label": "Yes"
                            },
                            {
                                "label": "No"
                            }
                        ]
                    }
                }
            ],
            "conditionalFieldSections": null
        }