Form fields are hidden (modules: contact, entityform and webform)

Style9's picture
Style9
Mon, 08/22/2016 - 07:24
#1
Form fields are hidden (modules: contact, entityform and webform)

Hi,

A website I build for a customer encounters unexpected behavior on the forms.

Some of the visitors are not seeing the form fields when they have a placeholder. Now I want to strip out the placeholders, but I can't find where they are programmed. Although most of the visitors are seeing all form fields, they receive 1 or 2 complaints a day.
Is this problem known to you guys? I hope you can point me out where I can disable the code where you print in the placeholders in the Structure Theme and hopefully this will solve the problem.

The website is http://www.osteopathieaalsmeer.nl/afspraak-maken

Kind regards,

Michiel Middelhoven

khoa's picture
khoa
Mon, 08/22/2016 - 17:25

Hello,

Please open function.theme.inc(sites\all\themes\md_structure\inc\front), go to line 150 and comment/remove the code

$element['#attributes']['placeholder'] = isset($element['#title']) ? $element['#title'] : '';

Thanks!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.