Answer the question
In order to leave comments, you need to log in
How to remove sort field in drupal 7?
Good afternoon. How to remove the sort field when editing a user's profile in a form?
Answer the question
In order to leave comments, you need to log in
Move the line var p = ...
inside the function, beforep.innerHTML =
var parents = document.getElementsByClassName('box');
Array.prototype.forEach.call(parents, function(parent) {
var input = document.createElement('input');
input.type = 'text';
parent.appendChild(input);
});
This field should be invisible, instead a sort button (drag & drop) appears to the left of the field, which allows you to sort multiple elements among themselves.
Your js is broken, look in the DevTools/Firebug console what exactly is broken...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question