Display only the field without his label on editor form and use the label area for
Display only the field without his label on editor form and use the label area for
Fatou_va
Posts: 8Questions: 3Answers: 0
I have create a custom field (Field type plug-ins) , which has two select (example http://jsfiddle.net/39cwpzd2/ )
then I want to display it without his label and use the label area for the field.
How can I display only my custom field on editor form.
Thanks for your answers
This discussion has been closed.
Answers
I have found a solution by using the CSS
'''
div.DTE_Field.DTE_Field_Type_oneToMany.DTE_Field_Name_{myFieldName}.DTE_Field>label{
float: left;
width: 0%;
}
div.DTE_Field.DTE_Field_Type_oneToMany.DTE_Field_Name_{myFieldName}s.DTE_Field>div.DTE_Field_Input {
float: left;
width: 100%;
}
'''
I hope that will help other people who will be in the same need
Thanks!
Hi,
I'm afraid I don't quite fully understand. If this is a custom field type (nice one btw!) then all you would do to have it as the only field, is define just that field in the Editor
fields
array.Allan