Placeholder in webforms

dcomas's picture
dcomas
Tue, 09/27/2016 - 04:19
#1
Placeholder in webforms

Hi,
I'm building other "Webforms" and I don't know how to put placeholders as the Webform of the Contact page.

When I create one, the inputs of the new webform come empties.

Thanks for all

phuonght's picture
phuonght
Tue, 09/27/2016 - 04:46

Hi,

Please open file template.php (sites\all\themes\md_dzen), find function md_dzen_form_webform_client_form_30_alter. It is the function to override template and set placeholder for contact form in theme.

You can please take a look then make another one similar to it.

Also, please not that number "30" is node webform ID.

dcomas's picture
dcomas
Tue, 09/27/2016 - 06:25

Ok. 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.