Answer the question
In order to leave comments, you need to log in
Why is drupal 7 webform not displaying placeholder?
On one of the drupal 7 sites, the webform module allows you to edit the Placeholder in the Display>Placeholder (The placeholder will be shown in the field until the user starts entering a value)
On another site, this field is not in the display, how can I fix this and where?
Answer the question
In order to leave comments, you need to log in
Drupal module glitch. You can fix it manually, or hardcode something like this:
And you can also put it down automatically using js placeholder based on the label:
$('.form-item input').each(function(){
$(this).attr('placeholder',$(this).prev().html());
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question