I want to make a valuemap that has a visible text that is different from the submitted value
So where i define the datasource i would like to do something like this
{
name: "dropField",
title: "dropField",
type: "text",
canEdit: true,
required: false,
length: 200,
valueMap:[
[1,"text1"],
[2,"text2"],
[3,"text yep"],
[4,"text so on"]
]
}
i would like to do it using json if possible
So where i define the datasource i would like to do something like this
{
name: "dropField",
title: "dropField",
type: "text",
canEdit: true,
required: false,
length: 200,
valueMap:[
[1,"text1"],
[2,"text2"],
[3,"text yep"],
[4,"text so on"]
]
}
i would like to do it using json if possible