Field set title, i need 2
Field set title, i need 2
rrzavaleta
Posts: 78Questions: 52Answers: 2
in Editor
Hello , I am using the plugins "Field Sept. title "
but I can not use two of these items at a time .
This example works if
"fields": [
{ label: "NAME", name: "pinfo", type: "title" },
{"label": "First name:","name": "first_name" },
{"label": "Last name:","name": "last_name"}
]
But if I add another does not run anything
"fields": [
{ label: "NAME", name: "pinfo", type: "title" },
{label: "First name:","name": "first_name" },
{ label: "LAST NAME", name: "pinfo", type: "title" },
{label: "Last name:", "name": "last_name"}
]
Any idea what's wrong ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use multiple instances, but you can't use the same name for them.
fields.name
must be unique for each field.Allan
"fields": [
{ label: "NAME", name: "name1", type: "title" },
{label: "First name:","name": "first_name" },
{ label: "LAST NAME", name: "name2", type: "title" },
{label: "Last name:", "name": "last_name"}
]
thx